Files
decolua--9router/open-sse/config/models.js
T
wehub-resource-sync 05fcd08057
Deploy GitBook to 9router.github.io / build-deploy (push) Failing after 2s
chore: import upstream snapshot with attribution
2026-07-13 12:21:01 +08:00

14 lines
336 B
JavaScript

// Model metadata registry
// Only define models that differ from DEFAULT_MODEL_INFO
// Custom entries are merged over default
const DEFAULT_MODEL_INFO = {
type: ["chat"],
contextWindow: 200000,
};
export const MODEL_INFO = {};
export function getModelInfo(modelId) {
return { ...DEFAULT_MODEL_INFO, ...MODEL_INFO[modelId] };
}