function calling: start callback should have function name first

This commit is contained in:
Aleix Conchillo Flaqué
2024-08-18 20:48:20 -07:00
parent ef0d0531fa
commit f3a4e54996
4 changed files with 9 additions and 9 deletions

View File

@@ -32,7 +32,7 @@ logger.remove(0)
logger.add(sys.stderr, level="DEBUG")
async def start_fetch_weather(llm, context, function_name):
async def start_fetch_weather(function_name, llm, context):
await llm.push_frame(TextFrame("Let me check on that."))