refactor(config): drop agent.provider

This commit is contained in:
Peter Steinberger
2025-12-26 00:43:44 +01:00
parent 8b815bce94
commit 1ef888ca23
14 changed files with 98 additions and 61 deletions

View File

@@ -35,8 +35,7 @@ async function withTempHome<T>(fn: (home: string) => Promise<T>): Promise<T> {
function makeCfg(home: string) {
return {
agent: {
provider: "anthropic",
model: "claude-opus-4-5",
model: "anthropic/claude-opus-4-5",
workspace: join(home, "clawd"),
},
routing: {
@@ -168,8 +167,7 @@ describe("trigger handling", () => {
{},
{
agent: {
provider: "anthropic",
model: "claude-opus-4-5",
model: "anthropic/claude-opus-4-5",
workspace: join(home, "clawd"),
},
routing: {
@@ -210,8 +208,7 @@ describe("trigger handling", () => {
{},
{
agent: {
provider: "anthropic",
model: "claude-opus-4-5",
model: "anthropic/claude-opus-4-5",
workspace: join(home, "clawd"),
},
routing: {
@@ -250,8 +247,7 @@ describe("trigger handling", () => {
{},
{
agent: {
provider: "anthropic",
model: "claude-opus-4-5",
model: "anthropic/claude-opus-4-5",
workspace: join(home, "clawd"),
},
routing: {