From cae6a534f7b4aa8ea9b64aae2bd9f4335a5f24fc Mon Sep 17 00:00:00 2001 From: "Brandon T. Willard" Date: Mon, 25 Sep 2023 14:42:20 -0500 Subject: [PATCH] Add missing colon from agent example --- docs/source/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/index.rst b/docs/source/index.rst index b62d0392f..6b995942b 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -65,7 +65,7 @@ A toy implementation of an agent (similar to BabyAGI or AutoGPT) with Outlines: """ - def agent(objective, goals, tools) + def agent(objective, goals, tools): complete = models.text_completion.hf("sshleifer/tiny-gpt2") prompt = agent_prompt(objective, goals, tools , command_response) answer = complete(prompt)