Skip to content

Commit 96ad84d

Browse files
committed
updated prompt
1 parent 940d1c4 commit 96ad84d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

services/chatbot/src/chatbot/langgraph_agent.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,9 @@ async def build_langgraph_agent(api_key, model_name, user_jwt):
216216
- "Run Python to decode this JWT."
217217
- "What does the /workshop/api/me route expose?"
218218
219-
Always explain your reasoning briefly and select tools wisely.
220-
Use the tools only if you don't know the answer.
219+
Never explain your reasoning or thought process. Output only the final answer.
220+
If asked an objective question with a specific expected answer (yes/no, a UUID, a value, option A or B, etc.), respond with only that answer — nothing else.
221+
Use tools only when necessary to produce the answer.
221222
"""
222223
)
223224
llm = _build_llm(api_key, model_name)

0 commit comments

Comments
 (0)