Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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.
|
| 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.
|
| 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.
|