mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-15 05:59:59 +00:00
feat(core): Support max output tokens parameter (#2218)
This commit is contained in:
@@ -436,6 +436,7 @@ async def get_chat_instance(dialogue: ConversationVo = Body()) -> BaseChat:
|
||||
"app_code": dialogue.app_code,
|
||||
"ext_info": dialogue.ext_info,
|
||||
"temperature": dialogue.temperature,
|
||||
"max_new_tokens": dialogue.max_new_tokens,
|
||||
}
|
||||
chat: BaseChat = await blocking_func_to_async(
|
||||
get_executor(),
|
||||
|
Reference in New Issue
Block a user