AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
ci(backend): widen the AutoPilot tool-schema budget to 65,000 chars (#14455)
Reinier van der Leer7d537f6ef39d
diff --git a/autogpt_platform/backend/backend/copilot/tools/tool_schema_test.py b/autogpt_platform/backend/backend/copilot/tools/tool_schema_test.pyindex aff25402e4..e1b3e21e09 100644--- a/autogpt_platform/backend/backend/copilot/tools/tool_schema_test.py+++ b/autogpt_platform/backend/backend/copilot/tools/tool_schema_test.py@@ -112,7 +112,14 @@ from backend.copilot.tools import TOOL_REGISTRY# Bumped 59_000 -> 61_000 for update_expert (the Autopilot-side soul edit,# same confirm gate) and raise_expert's color palette enum + persona-name# guidance. Merged registry measures 59625 chars; ~1.4k headroom.-_CHAR_BUDGET = 61_000+# Bumped 61_000 -> 65_000. That 1.4k of headroom was gone 17 days later:+# nine tools grew 50-400 chars each with no single PR at fault, dev reached+# 60,984, and the next PR to add anything was ejected from the merge queue.+# Sized against what concurrent in-flight PRs add in AGGREGATE (the ten v0.7.5+# PRs add 1,763) rather than against whatever sits on dev today, because each+# branch's CI only ever sees its own delta. Registry measures 62,747 with all+# ten merged; 2,253 headroom.+_CHAR_BUDGET = 65_000@pytest.fixture(scope="module")