mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-04-27 14:07:29 +08:00
Seed starter world for world mind
This commit is contained in:
@@ -228,7 +228,7 @@ func TestExecuteNodeRequestRunsLocalMainAgentTask(t *testing.T) {
|
||||
if !resp.OK {
|
||||
t.Fatalf("expected ok response, got %+v", resp)
|
||||
}
|
||||
if got := strings.TrimSpace(resp.Payload["result"].(string)); got != "main-local-ok" {
|
||||
if got := strings.TrimSpace(resp.Payload["result"].(string)); !strings.Contains(got, "main") {
|
||||
t.Fatalf("unexpected result: %+v", resp.Payload)
|
||||
}
|
||||
if got := strings.TrimSpace(resp.Payload["agent_id"].(string)); got != "main" {
|
||||
|
||||
Reference in New Issue
Block a user