From 821827f8505b504c5e0e34734d89c03791afbf4d Mon Sep 17 00:00:00 2001 From: DhanushSantosh Date: Thu, 8 Jan 2026 00:27:11 +0530 Subject: [PATCH] refactor: simplify config value formatting in CodexProvider - Removed unnecessary JSON.stringify conversion for string values in formatConfigValue function, streamlining the value formatting process. - This change enhances code clarity and reduces complexity in the configuration handling of the CodexProvider. --- apps/server/src/providers/codex-provider.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/server/src/providers/codex-provider.ts b/apps/server/src/providers/codex-provider.ts index fbd96b45..f20ca2e3 100644 --- a/apps/server/src/providers/codex-provider.ts +++ b/apps/server/src/providers/codex-provider.ts @@ -311,9 +311,6 @@ function buildCombinedPrompt(options: ExecuteOptions, systemPromptText?: string } function formatConfigValue(value: string | number | boolean): string { - if (typeof value === 'string') { - return JSON.stringify(value); - } return String(value); }