🪢 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: error log for api prompts (#966)
Richard Krümmelf7e20a9ff671
diff --git a/src/features/prompts/server/prompt-router.ts b/src/features/prompts/server/prompt-router.tsindex 304c31e018..bfdd4d91e2 100644--- a/src/features/prompts/server/prompt-router.ts+++ b/src/features/prompts/server/prompt-router.ts@@ -173,7 +173,7 @@ export const promptRouter = createTRPCRouter({}if (!user) {console.log(`User not found for promptId ${p.id}`);- throw new Error("User not found for promptId ${p.id}");+ throw new Error(`User not found for promptId ${p.id}`);}return {...p,