Skip to content

Commit

Permalink
fix the issue that lost prev observation memory in toolExpert bug (#2136
Browse files Browse the repository at this point in the history
)
  • Loading branch information
cinjoseph authored Nov 19, 2024
1 parent 780ce80 commit 3371ec4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dbgpt/agent/core/profile/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,13 @@
{% if question %}Question: {{ question }} {% endif %}
{% if thought %}Thought: {{ thought }} {% endif %}
{% if action %}Action: {{ action }} {% endif %}
{% if observation %}Observation: {{ observation }} {% endif %}
"""
_DEFAULT_WRITE_MEMORY_TEMPLATE_ZH = """\
{% if question %}问题: {{ question }} {% endif %}
{% if thought %}思考答案: {{ thought }} {% endif %}
{% if action %}行动结果: {{ action }} {% endif %}
{% if observation %}观察: {{ observation }} {% endif %}
"""


Expand Down

0 comments on commit 3371ec4

Please sign in to comment.