Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* ai:
* agents:
* claude-code:
* model: "claude-sonnet-4.5"
* model: "claude-sonnet-4-5"
* timeout: "PT5M"
* yolo: true
* executable-path: "/usr/local/bin/claude"
Expand All @@ -50,7 +50,7 @@ public class ClaudeAgentProperties {
/**
* Claude model to use for agent tasks.
*/
private String model = "claude-sonnet-4.5";
private String model = "claude-sonnet-4-5";

/**
* Timeout for agent task execution.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public class StandaloneExample {

// 2. Configure agent options
ClaudeAgentOptions options = ClaudeAgentOptions.builder()
.model("claude-sonnet-4.5")
.model("claude-sonnet-4-5")
.yolo(true)
.build();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ spring:
ai:
agents:
claude-code:
model: "claude-sonnet-4.5" # Claude model to use
model: "claude-sonnet-4-5" # Claude model to use
timeout: "PT5M" # Task execution timeout (5 minutes)
yolo: true # Bypass permission checks (default: true)
executable-path: "/usr/local/bin/claude" # Optional: custom CLI path
Expand All @@ -105,7 +105,7 @@ spring:
|Property |Default |Description

|`spring.ai.agents.claude-code.model`
|`claude-sonnet-4.5`
|`claude-sonnet-4-5`
|Claude model for agent tasks

|`spring.ai.agents.claude-code.timeout`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ The fluent chain makes it easy to build up your agent request step by step.
Spring Boot autoconfiguration handles everything automatically:

* `AgentClient.Builder` bean (prototype scope)
* Claude agent (model: claude-sonnet-4.5, yolo: true)
* Claude agent (model: claude-sonnet-4-5, yolo: true)
* LocalSandbox for secure execution

No manual configuration required!
Expand Down
2 changes: 1 addition & 1 deletion samples/getting-started-hello-world/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ The agent will:

Spring Boot provides:
- `AgentClient.Builder` bean (prototype scope) - automatically configured
- Claude agent with sensible defaults (model: claude-sonnet-4.5, yolo: true)
- Claude agent with sensible defaults (model: claude-sonnet-4-5, yolo: true)
- LocalSandbox for secure command execution

No manual configuration needed!
Expand Down