File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 1- __version__ = "v0.76.0 "
1+ __version__ = "v0.76.1 "
22
33
44def get_sdk_version () -> str :
Original file line number Diff line number Diff line change 55from llama_index .llms .mistralai import MistralAI
66from llama_index .llms .mistralai .base import DEFAULT_MISTRALAI_MAX_TOKENS
77from mistralai .models import SDKError as MistralError
8-
98from unstract .sdk .adapters .exceptions import AdapterError
109from unstract .sdk .adapters .llm .constants import LLMKeys
1110from unstract .sdk .adapters .llm .llm_adapter import LLMAdapter
@@ -52,7 +51,7 @@ def get_llm_instance(self) -> LLM:
5251 self .config .get (Constants .MAX_RETRIES , LLMKeys .DEFAULT_MAX_RETRIES )
5352 )
5453 max_tokens = int (
55- self .config .get (Constants .MAX_RETRIES , DEFAULT_MISTRALAI_MAX_TOKENS )
54+ self .config .get (Constants .MAX_TOKENS , DEFAULT_MISTRALAI_MAX_TOKENS )
5655 )
5756 try :
5857 llm : LLM = MistralAI (
You can’t perform that action at this time.
0 commit comments