Skip to content

Fix merge_facts incorrectly capping plan_writes at 50 - #95

Open
AkshatGarg952 wants to merge 1 commit into
CopperPilot:mainfrom
AkshatGarg952:fix/merge-facts-plan-writes-cap
Open

AkshatGarg952 wants to merge 1 commit into
CopperPilot:mainfrom
AkshatGarg952:fix/merge-facts-plan-writes-cap

Conversation

@AkshatGarg952

@AkshatGarg952 AkshatGarg952 commented Dec 1, 2026 •

Copy link
Copy Markdown

Summary

  • merge_facts was truncating plan_writes with MAX_ASK_ANSWERS (50); only ask_answers should use that protocol limit.
  • Added test_merge_facts_caps_ask_answers_but_keeps_all_plan_writes.

Test plan

  • pytest tests/test_chat_context.py::test_merge_facts_caps_ask_answers_but_keeps_all_plan_writes -q

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant