From a634e03abae6e55a7d712def087bc3d7bdd8fa19 Mon Sep 17 00:00:00 2001 From: ochafik Date: Wed, 10 Apr 2024 01:03:39 +0100 Subject: [PATCH] agent: cache_prompt=True --- examples/agent/agent.py | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/agent/agent.py b/examples/agent/agent.py index ca5d2bd9c..651047674 100644 --- a/examples/agent/agent.py +++ b/examples/agent/agent.py @@ -71,6 +71,7 @@ def completion_with_tool_usage( messages=messages, response_format=response_format, tools=tools_schemas, + cache_prompt=True, **kwargs, ) if verbose: