chore: remove useless code (#8198)

This commit is contained in:
crazywoola 2024-09-11 18:19:34 +08:00 committed by GitHub
parent 292220c596
commit 4d2cd6703b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -420,7 +420,7 @@ class AzureOpenAILargeLanguageModel(_CommonAzureOpenAI, LargeLanguageModel):
),
)
index += 0
index += 1
# calculate num tokens
prompt_tokens = self._num_tokens_from_messages(credentials, prompt_messages, tools)