X-Git-Url: https://git.giacomolli.uk/onechat/blobdiff_plain/eb05edcf5d575e8a3b1040debfb57423312e8320..0da1ef837bbd190cc5787214187d1b29d62b9410:/chain_test.go diff --git a/chain_test.go b/chain_test.go index 833f86e..070a5f2 100644 --- a/chain_test.go +++ b/chain_test.go @@ -36,9 +36,10 @@ func TestChainReturnsTheRepliesOfTheFinalAnswer(t *testing.T) { chain := &Chain{ client: newModelClient(server.URL, ModelAPIKey(modelTestKey), "agent-key", filepath.Join(t.TempDir(), "usage.jsonl")), tools: &Toolbox{ - log: memory, - chat: memory, - workdir: t.TempDir(), + log: memory, + chat: memory, + subagents: newTestSubagents(t), + workdir: t.TempDir(), }, request: ModelRequest{ Model: "gpt-test",