Skip to main content

MAX_CONCURRENT_CHATS

Constant MAX_CONCURRENT_CHATS 

Source
pub const MAX_CONCURRENT_CHATS: usize = 4;
Expand description

Agent runs allowed in flight at once; further chat requests get HTTP 429. One semaphore for every route that can start a run: the dashboard and the gateway must not each believe they are the only caller.