antoineandrieu commited on
Commit
41bfb05
·
1 Parent(s): 141c4ac

Fix respond function parameters

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -8,10 +8,9 @@ LANGGRAPH_DEPLOYMENT = "https://chambre-agricole-chatbot-686407044d7f59d29a1e494
8
  client = get_client(url=LANGGRAPH_DEPLOYMENT)
9
 
10
  async def respond(
11
- message: str,
12
- *,
13
- history: list[tuple[str, str]] = None,
14
- system_message: str = "You are a friendly Chatbot.",
15
  ):
16
  thread = await client.threads.create()
17
 
 
8
  client = get_client(url=LANGGRAPH_DEPLOYMENT)
9
 
10
  async def respond(
11
+ message,
12
+ history: list[tuple[str, str]],
13
+ system_message,
 
14
  ):
15
  thread = await client.threads.create()
16