mirror of
https://github.com/langgenius/dify.git
synced 2024-11-15 19:22:36 +08:00
fix the lint error
This commit is contained in:
parent
75aa0220dd
commit
4c1636807a
|
@ -331,7 +331,6 @@ class AnthropicLargeLanguageModel(LargeLanguageModel):
|
|||
completion_tokens = (response.usage and response.usage.output_tokens) or \
|
||||
self.get_num_tokens(model, credentials, [assistant_prompt_message])
|
||||
|
||||
|
||||
# transform usage
|
||||
usage = self._calc_response_usage(model, credentials, prompt_tokens, completion_tokens)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user