refactor(catalog): baked thinking metadata into buildModel pipeline
- Replaced minLevel/maxLevel range with explicit efforts array plus baked effortMap/supportsDisplay wire facts. - Removed runtime enrichment layer and modelOmitsReasoningEffort; providers now read baked fields. - Fixed dotted Opus 4.7/4.8 ids missing adaptive display via classifier-based predicates (#1373). - Bumped model cache schema to v4 to invalidate pre-efforts rows.
This commit is contained in:
@@ -351,8 +351,7 @@ describe("ModelRegistry runtime discovery", () => {
|
||||
expect(qwen?.reasoning).toBe(true);
|
||||
expect(qwen?.thinking).toEqual({
|
||||
mode: "effort",
|
||||
minLevel: Effort.Minimal,
|
||||
maxLevel: Effort.High,
|
||||
efforts: [Effort.Minimal, Effort.Low, Effort.Medium, Effort.High],
|
||||
});
|
||||
|
||||
const llama = registry.find("ollama", "llama3.2:3b");
|
||||
|
||||
Reference in New Issue
Block a user