Fix bug strip image

This commit is contained in:
decolua
2026-04-07 10:06:55 +07:00
parent a53ccf1343
commit 401772cb9a
8 changed files with 49 additions and 222 deletions

13
open-sse/config/models.js Normal file
View File

@@ -0,0 +1,13 @@
// 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] };
}