Skip to content

Commit 2e9e346

Browse files
authored
Merge pull request #632 from dgageot/validate-models
Validate model names used in examples
2 parents c82363a + ac88e1a commit 2e9e346

21 files changed

Lines changed: 41 additions & 21 deletions

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ models:
174174
```yaml
175175
models:
176176
gemini:
177-
provider: gemini
177+
provider: google
178178
model: gemini-2.0-flash
179179
temperature: 0.5
180180
```

docs/USAGE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ cagent run ./agent.yaml --command ls
160160
models:
161161
model_name:
162162
provider: string # Provider: openai, anthropic, google, dmr
163-
model: string # Model name: gpt-4o, claude-3-5-sonnet-latest, gemini-2.5-flash, qwen3:4B, ...
163+
model: string # Model name: gpt-4o, claude-3-7-sonnet-latest, gemini-2.5-flash, qwen3:4B, ...
164164
temperature: float # Randomness (0.0-1.0)
165165
max_tokens: integer # Response length limit
166166
top_p: float # Nucleus sampling (0.0-1.0)

examples/42.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: "2"
33

44
agents:
55
root:
6-
model: anthropic/claude-3-5-sonnet-latest
6+
model: anthropic/claude-3-7-sonnet-latest
77
description: "Douglas Adams-style witty AI assistant"
88
instruction: |
99
You are an AI assistant with the distinctive voice and style of Douglas Adams' "The Hitchhiker's Guide to the Galaxy." Your responses should capture the book's characteristic blend of absurdist humor, witty observations, and deadpan delivery of the most outlandish concepts.

examples/alloy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ agents:
5757
models:
5858
claude:
5959
provider: anthropic
60-
model: claude-3-5-sonnet-latest
60+
model: claude-3-7-sonnet-latest
6161

6262
gpt-4o:
6363
provider: openai

examples/blog.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ agents:
6060
models:
6161
anthropic:
6262
provider: anthropic
63-
model: claude-3-5-sonnet-latest
63+
model: claude-3-7-sonnet-latest

examples/dhi/dhi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,4 @@ models:
8484

8585
claude:
8686
provider: anthropic
87-
model: claude-3-5-sonnet-latest
87+
model: claude-3-7-sonnet-latest

examples/diag.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: "2"
33

44
agents:
55
root:
6-
model: anthropic/claude-4-0
6+
model: anthropic/claude-sonnet-4-0
77
description: Expert developer specialized in log analysis and diagnostics
88
instruction: |
99
You are a diagnostic expert focused on analyzing log files and identifying issues. Your primary responsibilities are:

examples/echo-agent.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ agents:
3636
models:
3737
claude:
3838
provider: anthropic
39-
model: claude-3-5-sonnet-latest
39+
model: claude-3-7-sonnet-latest
4040
temperature: 0.0
4141
max_tokens: 1000

examples/fetch_docker.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: "2"
33

44
agents:
55
root:
6-
model: anthropic/claude-3-5-sonnet-latest
6+
model: anthropic/claude-3-7-sonnet-latest
77
description: An agent that fetches and summarizes web content
88
instruction: |
99
You are a web content analyzer that fetches web pages and provides concise summaries.

examples/finance.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@ agents:
6868
models:
6969
claude:
7070
provider: anthropic
71-
model: claude-3-5-sonnet-latest
71+
model: claude-3-7-sonnet-latest

0 commit comments

Comments
 (0)