mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 17:08:03 +08:00
fix typo
This commit is contained in:
@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user