🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
fix(ui/prompts): parse prompt variables correctly (#3286)
Hassieb Pakzad46fff7148e07
diff --git a/web/src/features/prompts/components/prompt-detail.tsx b/web/src/features/prompts/components/prompt-detail.tsxindex 4961075322..f93eb688af 100644--- a/web/src/features/prompts/components/prompt-detail.tsx+++ b/web/src/features/prompts/components/prompt-detail.tsx@@ -47,7 +47,7 @@ export const PromptDetail = () => {: promptHistory.data?.promptVersions[0];const extractedVariables = prompt- ? extractVariables(JSON.stringify(prompt.prompt))+ ? extractVariables(prompt.prompt?.toString() ?? ""): [];let chatMessages: z.infer<typeof ChatMlArraySchema> | null = null;