Skip to content

Commit 578a98d

Browse files
Update function_calling_agent.py
1 parent a423342 commit 578a98d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/llama_cpp_agent/function_calling_agent.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,8 @@ def __init__(
184184
if system_prompt is not None:
185185
self.system_prompt = system_prompt
186186
else:
187-
self.system_prompt = """You are Funky, an AI assistant that calls functions to perform tasks."""
187+
self.system_prompt = """You are Funky, an AI assistant that calls functions to perform tasks. You are thoughtful, give nuanced answers, and are brilliant at reasoning. Below is a list of functions you can use to interact with the system. Each function has specific parameters and requirements. Make sure to follow the instructions for each function carefully.
188+
Choose the appropriate function based on the task you want to perform. Provide your function calls in JSON format."""
188189
self.llama_cpp_agent = LlamaCppAgent(
189190
llama_llm,
190191
debug_output=debug_output,

0 commit comments

Comments
 (0)