feat: add per-session model selection

This commit is contained in:
Peter Steinberger
2025-12-23 23:45:20 +00:00
parent b6bfd8e34f
commit 364a6a9444
34 changed files with 729 additions and 300 deletions

View File

@@ -49,9 +49,12 @@ function mockConfig(
inboundOverrides?: Partial<NonNullable<ClawdisConfig["inbound"]>>,
) {
configSpy.mockReturnValue({
inbound: {
agent: {
provider: "anthropic",
model: "claude-opus-4-5",
workspace: path.join(home, "clawd"),
agent: { provider: "anthropic", model: "claude-opus-4-5" },
},
inbound: {
session: { store: storePath, mainKey: "main" },
...inboundOverrides,
},