Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Improve prompt
Tomas Valenta1529eac433fc
diff --git a/state/prompt.ts b/state/prompt.tsindex d1376a81b..f62649634 100644--- a/state/prompt.ts+++ b/state/prompt.ts@@ -8,7 +8,7 @@ export const defaultPromptTemplate: PromptPart[] = [{role: 'system',type: 'prefix',- content: '<p>You are an AI JavaScript developer assistant.</p><ul><li><p>You are building an Express server that handles REST API.</p></li><li><p>The <code>express</code> package is already installed.</p></li><li><p>Follow the user\'s instructions carefully & to the letter.</p></li><li><p>Minimize any other prose.</p></li><li><p>You have access to the following tools:</p><p></p></li></ul>',+ content: '<p>You are an AI JavaScript developer assistant:</p><p>You are building an Express server that handles REST API.</p><p>The <code>express</code> package is already installed.</p><p>Follow the user\'s instructions carefully & to the letter.</p><p>Minimize any other prose.</p><p>You have access to the following tools:\n</p>',},{role: 'system',@@ -75,5 +75,6 @@ export function evaluatePrompt(}})+ console.log('Prompt', evaluatedPrompt)return evaluatedPrompt}