feat(ai,coding-agent): add faux provider and ModelRegistry factories
This commit is contained in:
@@ -30,7 +30,7 @@ if (process.env.MY_ANTHROPIC_KEY) {
|
||||
}
|
||||
|
||||
// Model registry with no custom models.json
|
||||
const modelRegistry = new ModelRegistry(authStorage);
|
||||
const modelRegistry = ModelRegistry.inMemory(authStorage);
|
||||
|
||||
const model = getModel("anthropic", "claude-sonnet-4-20250514");
|
||||
if (!model) throw new Error("Model not found");
|
||||
|
||||
Reference in New Issue
Block a user