Ludovicollin commited on
Commit
ce6be21
·
verified ·
1 Parent(s): 1caca4d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -20,8 +20,8 @@ def get_weather(city: Literal["nyc", "sf"]):
20
 
21
 
22
  tools = [get_weather]
23
- model = ChatOpenAI(base_url='https://albert.api.etalab.gouv.fr/v1', api_key=os.environ['API_KEY'], model_name="mistralai/Mistral-Small-3.1-24B-Instruct-2503", temperature=0)
24
- final_model = ChatOpenAI(base_url='https://albert.api.etalab.gouv.fr/v1', api_key=os.environ['API_KEY'], model_name="mistralai/Mistral-Small-3.1-24B-Instruct-2503", temperature=0)
25
 
26
  model = model.bind_tools(tools)
27
  # NOTE: this is where we're adding a tag that we'll can use later to filter the model stream events to only the model called in the final node.
 
20
 
21
 
22
  tools = [get_weather]
23
+ model = ChatOpenAI(base_url='https://albert.api.etalab.gouv.fr/v1', api_key=os.environ['API_KEY'], model_name="mistralai/Mistral-Small-3.2-24B-Instruct-2506", temperature=0)
24
+ final_model = ChatOpenAI(base_url='https://albert.api.etalab.gouv.fr/v1', api_key=os.environ['API_KEY'], model_name="mistralai/Mistral-Small-3.2-24B-Instruct-2506", temperature=0)
25
 
26
  model = model.bind_tools(tools)
27
  # NOTE: this is where we're adding a tag that we'll can use later to filter the model stream events to only the model called in the final node.