This commit is contained in:
takatost
2024-03-04 13:32:59 +08:00
parent 3f6c17247f
commit 7b738e045e
5 changed files with 5 additions and 5 deletions

View File

@ -149,7 +149,7 @@ class CompletionAppRunner(AppRunner):
return
# Re-calculate the max tokens if sum(prompt_token + max_tokens) over model token limit
self.recale_llm_max_tokens(
self.recalc_llm_max_tokens(
model_config=application_generate_entity.model_config,
prompt_messages=prompt_messages
)