mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 17:38:04 +08:00
Refactor/react agent (#3355)
This commit is contained in:
@ -38,8 +38,10 @@ Action:
|
||||
```
|
||||
|
||||
Begin! Reminder to ALWAYS respond with a valid json blob of a single action. Use tools if necessary. Respond directly if appropriate. Format is Action:```$JSON_BLOB```then Observation:.
|
||||
{{historic_messages}}
|
||||
Question: {{query}}
|
||||
Thought: {{agent_scratchpad}}"""
|
||||
{{agent_scratchpad}}
|
||||
Thought:"""
|
||||
|
||||
ENGLISH_REACT_COMPLETION_AGENT_SCRATCHPAD_TEMPLATES = """Observation: {{observation}}
|
||||
Thought:"""
|
||||
|
||||
Reference in New Issue
Block a user