From 7f55459e404b5ac3787ad2597bfba15f3f20d933 Mon Sep 17 00:00:00 2001 From: Lily Delalande <119957291+lily-de@users.noreply.github.com> Date: Thu, 3 Jul 2025 14:35:31 -0400 Subject: [PATCH] update styling of user messages (#3247) --- ui/desktop/openapi.json | 6 ++++++ ui/desktop/src/api/types.gen.ts | 3 +++ ui/desktop/src/components/UserMessage.tsx | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ui/desktop/openapi.json b/ui/desktop/openapi.json index e2de8305..6aeb71cb 100644 --- a/ui/desktop/openapi.json +++ b/ui/desktop/openapi.json @@ -1342,6 +1342,12 @@ "envs": { "$ref": "#/components/schemas/Envs" }, + "headers": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, "name": { "type": "string", "description": "The name used to identify this extension" diff --git a/ui/desktop/src/api/types.gen.ts b/ui/desktop/src/api/types.gen.ts index 2f821de0..14a147a2 100644 --- a/ui/desktop/src/api/types.gen.ts +++ b/ui/desktop/src/api/types.gen.ts @@ -132,6 +132,9 @@ export type ExtensionConfig = { description?: string | null; env_keys?: Array; envs?: Envs; + headers?: { + [key: string]: string; + }; /** * The name used to identify this extension */ diff --git a/ui/desktop/src/components/UserMessage.tsx b/ui/desktop/src/components/UserMessage.tsx index a871b5b1..9b733f03 100644 --- a/ui/desktop/src/components/UserMessage.tsx +++ b/ui/desktop/src/components/UserMessage.tsx @@ -38,7 +38,7 @@ export default function UserMessage({ message }: UserMessageProps) {