MaxKB icon indicating copy to clipboard operation
MaxKB copied to clipboard

[Bug] 每次回答问题,最长时间都在 185s 左右,后续内容就中断了。

Open ferocknew opened this issue 9 months ago • 2 comments

Contact Information

No response

MaxKB Version

v1.10.2-lts (build at 2025-03-05T19:39, commit: bc3dcda1)

Problem Description

每次回答问题,最长时间都在 185s 左右,后续内容就中断了。

是否有一个最大 TIMEOUT 时间? 是否可以设置成环境变量调整这个最大时间?

Steps to Reproduce

每次回答问题,最长时间都在 185s 左右,后续内容就中断了。

是否有一个最大 TIMEOUT 时间? 是否可以设置成环境变量调整这个最大时间?

The expected correct result

No response

Related log output


Additional Information

No response

ferocknew avatar Mar 17 '25 02:03 ferocknew

你好,回复中断和时间没有关系,主要跟你应用中所使用的模型的max_token参数有关,请将其设置大一点。

Shenguobin0102 avatar Mar 18 '25 01:03 Shenguobin0102

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Hello, the reply interrupt has nothing to do with the time, it mainly depends on the max_token parameter of the model used in your application. Please set it larger.

shaohuzhang1 avatar Mar 18 '25 01:03 shaohuzhang1

暂未收到反馈,该issue先关闭。

baixin513 avatar Apr 01 '25 06:04 baixin513

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


No feedback has been received yet, the issue is closed first.

shaohuzhang1 avatar Apr 01 '25 06:04 shaohuzhang1