everydaytok commited on
Commit
d1c0454
·
verified ·
1 Parent(s): 2112cf0

Update app.js

Browse files
Files changed (1) hide show
  1. app.js +1 -1
app.js CHANGED
@@ -143,7 +143,7 @@ const flattenHistory = (history, currentInput, systemPrompt, limit = 10) => {
143
  };
144
 
145
  const callAI = async (history, input, contextData) => {
146
- const systemPrompt = prompts.director_system_prompt || "You are MOMENTUM. Analyze context and give actionable orders.";
147
 
148
  const enrichedInput = `[CONTEXT]:\n${JSON.stringify(contextData)}\n\n[INPUT]: ${input}`;
149
  const prompt = flattenHistory(history, enrichedInput, systemPrompt, 10);
 
143
  };
144
 
145
  const callAI = async (history, input, contextData) => {
146
+ const systemPrompt = prompts.director_system_prompt || "You are Thrust. Analyze context and give actionable orders.";
147
 
148
  const enrichedInput = `[CONTEXT]:\n${JSON.stringify(contextData)}\n\n[INPUT]: ${input}`;
149
  const prompt = flattenHistory(history, enrichedInput, systemPrompt, 10);