Fix basedpyright type errors (#25435)
Signed-off-by: -LAN- <laipz8200@outlook.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -354,7 +354,7 @@ class LargeLanguageModel(AIModel):
|
||||
)
|
||||
return 0
|
||||
|
||||
def _calc_response_usage(
|
||||
def calc_response_usage(
|
||||
self, model: str, credentials: dict, prompt_tokens: int, completion_tokens: int
|
||||
) -> LLMUsage:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user