summaryrefslogtreecommitdiff
path: root/internal/api/elaborate_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/elaborate_test.go')
-rw-r--r--internal/api/elaborate_test.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/internal/api/elaborate_test.go b/internal/api/elaborate_test.go
index 09f7fbe..b33ca11 100644
--- a/internal/api/elaborate_test.go
+++ b/internal/api/elaborate_test.go
@@ -53,7 +53,8 @@ func TestElaborateTask_Success(t *testing.T) {
task := elaboratedTask{
Name: "Run Go tests with race detector",
Description: "Runs the Go test suite with -race flag and checks coverage.",
- Claude: elaboratedClaude{
+ Agent: elaboratedAgent{
+ Type: "claude",
Model: "sonnet",
Instructions: "Run go test -race ./... and report results.",
ProjectDir: "",
@@ -94,7 +95,7 @@ func TestElaborateTask_Success(t *testing.T) {
if result.Name == "" {
t.Error("expected non-empty name")
}
- if result.Claude.Instructions == "" {
+ if result.Agent.Instructions == "" {
t.Error("expected non-empty instructions")
}
}
@@ -127,7 +128,8 @@ func TestElaborateTask_MarkdownFencedJSON(t *testing.T) {
task := elaboratedTask{
Name: "Test task",
Description: "Does something.",
- Claude: elaboratedClaude{
+ Agent: elaboratedAgent{
+ Type: "claude",
Model: "sonnet",
Instructions: "Do the thing.",
MaxBudgetUSD: 0.5,