+
+ {headers.map((header, index) => (
+
+
+ updateHeader(index, "key", e.target.value)}
+ />
+
+
+ updateHeader(index, "value", e.target.value)}
+ />
+
+
+
+ ))}
+
+
+ );
+}
+
function FormField({
field,
label,
diff --git a/apps/desktop/src/hooks/useLLMConnection.ts b/apps/desktop/src/hooks/useLLMConnection.ts
index 58c2d527a2..e082b5380b 100644
--- a/apps/desktop/src/hooks/useLLMConnection.ts
+++ b/apps/desktop/src/hooks/useLLMConnection.ts
@@ -30,6 +30,7 @@ type LLMConnectionInfo = {
modelId: string;
baseUrl: string;
apiKey: string;
+ customHeaders: Record