chore: rename coder -> primary
This commit is contained in:
parent
c9b90dd184
commit
36e5ae804e
18 changed files with 56 additions and 55 deletions
|
|
@ -86,7 +86,7 @@ to assist developers in writing, debugging, and understanding code directly from
|
|||
|
||||
app, err := app.New(ctx, conn)
|
||||
if err != nil {
|
||||
slog.Error("Failed to create app: %v", err)
|
||||
slog.Error("Failed to create app", "error", err)
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
@ -152,11 +152,11 @@ to assist developers in writing, debugging, and understanding code directly from
|
|||
cleanup()
|
||||
|
||||
if err != nil {
|
||||
slog.Error("TUI error: %v", err)
|
||||
slog.Error("TUI error", "error", err)
|
||||
return fmt.Errorf("TUI error: %v", err)
|
||||
}
|
||||
|
||||
slog.Info("TUI exited with result: %v", result)
|
||||
slog.Info("TUI exited", "result", result)
|
||||
return nil
|
||||
},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ Here's an example configuration that conforms to the schema:
|
|||
}
|
||||
},
|
||||
"agents": {
|
||||
"coder": {
|
||||
"primary": {
|
||||
"model": "claude-3.7-sonnet",
|
||||
"maxTokens": 5000,
|
||||
"reasoningEffort": "medium"
|
||||
|
|
@ -61,4 +61,5 @@ Here's an example configuration that conforms to the schema:
|
|||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -274,7 +274,7 @@ func generateSchema() map[string]any {
|
|||
// Add specific agent properties
|
||||
agentProperties := map[string]any{}
|
||||
knownAgents := []string{
|
||||
string(config.AgentCoder),
|
||||
string(config.AgentPrimary),
|
||||
string(config.AgentTask),
|
||||
string(config.AgentTitle),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue