We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37300c0 commit e29fe1cCopy full SHA for e29fe1c
1 file changed
api.ts
@@ -4801,6 +4801,10 @@ export interface CustomLLMModel {
4801
metadataSendMode?: "off" | "variable" | "destructured";
4802
/** These is the URL we'll use for the OpenAI client's `baseURL`. Ex. https://openrouter.ai/api/v1 */
4803
url: string;
4804
+ /**
4805
+ * Custom headers to send with requests to the custom LLM endpoint. These headers can override default OpenAI headers except Authorization.
4806
+ */
4807
+ headers?: Record<string, string>;
4808
/**
4809
* This sets the timeout for the connection to the custom provider without needing to stream any tokens back. Default is 20 seconds.
4810
* @min 20
0 commit comments