Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4801,6 +4801,10 @@ export interface CustomLLMModel {
metadataSendMode?: "off" | "variable" | "destructured";
/** These is the URL we'll use for the OpenAI client's `baseURL`. Ex. https://openrouter.ai/api/v1 */
url: string;
/**
* Custom headers to send with requests to the custom LLM endpoint.
*/
headers?: Record<string, string>;
/**
* This sets the timeout for the connection to the custom provider without needing to stream any tokens back. Default is 20 seconds.
* @min 20
Expand Down
Loading