mirror of
https://github.com/katanemo/plano.git
synced 2026-06-17 15:25:17 +02:00
add request timeout
This commit is contained in:
parent
2fe91932d3
commit
d76ced3aff
3 changed files with 20 additions and 7 deletions
|
|
@ -4,6 +4,9 @@ pub const USER_ROLE: &str = "user";
|
|||
pub const TOOL_ROLE: &str = "tool";
|
||||
pub const ASSISTANT_ROLE: &str = "assistant";
|
||||
pub const ARCH_FC_REQUEST_TIMEOUT_MS: u64 = 120000; // 2 minutes
|
||||
pub const DEFAULT_TARGET_REQUEST_TIMEOUT_MS: u64 = 120000; // 2 minutes
|
||||
pub const API_REQUEST_TIMEOUT_MS: u64 = 120000; // 2 minutes
|
||||
pub const MODEL_SERVER_REQUEST_TIMEOUT_MS: u64 = 120000; // 2 minutes
|
||||
pub const MODEL_SERVER_NAME: &str = "model_server";
|
||||
pub const ARCH_ROUTING_HEADER: &str = "x-arch-llm-provider";
|
||||
pub const MESSAGES_KEY: &str = "messages";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue