mirror of
https://github.com/suitenumerique/docs.git
synced 2026-09-26 11:35:05 +02:00
⬆️(backend) upgrade pydantic-ai-slim and remove mistralai
We upgraded pydantic-ai-slim to the latest version and add mistral has extra dependency. Doing this, the direct dependance to mistral can be removed and will be managed with pidantic-ai-slim package. The import of mistralai has changed, we have to updagre them from mistralai to mistralai.client
This commit is contained in:
@@ -9,7 +9,7 @@ from django.core.exceptions import ImproperlyConfigured
|
||||
|
||||
from langfuse import get_client, observe
|
||||
from langfuse.openai import OpenAI as OpenAI_Langfuse
|
||||
from mistralai import Mistral
|
||||
from mistralai.client import Mistral
|
||||
|
||||
from core import enums
|
||||
|
||||
|
||||
Reference in New Issue
Block a user