Skip to content

Commit 25db28f

Browse files
committed
[PY] fix: issue chat History Limitation Problem
1 parent 110a625 commit 25db28f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/packages/ai/teams/ai/planners/action_planner.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ async def complete_prompt(
158158
start_streaming_message=self._options.start_streaming_message,
159159
end_stream_handler=self._options.end_stream_handler,
160160
enable_feedback_loop=self._enable_feedback_loop,
161+
max_history_messages=self._options.prompts._options.max_history_messages
161162
)
162163
)
163164

0 commit comments

Comments
 (0)