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 "
2
2
3
3
4
4
def get_sdk_version () -> str :
Original file line number Diff line number Diff line change 5
5
from llama_index .llms .mistralai import MistralAI
6
6
from llama_index .llms .mistralai .base import DEFAULT_MISTRALAI_MAX_TOKENS
7
7
from mistralai .models import SDKError as MistralError
8
-
9
8
from unstract .sdk .adapters .exceptions import AdapterError
10
9
from unstract .sdk .adapters .llm .constants import LLMKeys
11
10
from unstract .sdk .adapters .llm .llm_adapter import LLMAdapter
@@ -52,7 +51,7 @@ def get_llm_instance(self) -> LLM:
52
51
self .config .get (Constants .MAX_RETRIES , LLMKeys .DEFAULT_MAX_RETRIES )
53
52
)
54
53
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 )
56
55
)
57
56
try :
58
57
llm : LLM = MistralAI (
You can’t perform that action at this time.
0 commit comments