diff --git a/semantic_router/encoders/mistral.py b/semantic_router/encoders/mistral.py
index a3768d340dd7bedd270d715731a02def7b9b7e7f..b45603bb4d6dead15918955c7c3a494ea95678bc 100644
--- a/semantic_router/encoders/mistral.py
+++ b/semantic_router/encoders/mistral.py
@@ -47,8 +47,6 @@ class MistralEncoder(BaseEncoder):
             raise ValueError("Mistral API key not provided")
         try:
             client = MistralClient(api_key=api_key)
-            embedding_response = EmbeddingResponse
-            mistral_exception = MistralException
         except Exception as e:
             raise ValueError(f"Unable to connect to MistralAI {e.args}: {e}") from e
         return client, embedding_response, mistral_exception