mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 09:29:02 +08:00
chore: remove useless code (#8198)
This commit is contained in:
parent
292220c596
commit
4d2cd6703b
@ -420,7 +420,7 @@ class AzureOpenAILargeLanguageModel(_CommonAzureOpenAI, LargeLanguageModel):
|
|||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
index += 0
|
index += 1
|
||||||
|
|
||||||
# calculate num tokens
|
# calculate num tokens
|
||||||
prompt_tokens = self._num_tokens_from_messages(credentials, prompt_messages, tools)
|
prompt_tokens = self._num_tokens_from_messages(credentials, prompt_messages, tools)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user