This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 1b87eb519486 CAMEL-25784: camel-jbang - raise the core prompt budget
of the AI panel for the camel_get_errors description (#28149)
1b87eb519486 is described below
commit 1b87eb5194869d1a43df98084e5bde6559b8a8c7
Author: Claus Ibsen <[email protected]>
AuthorDate: Tue Oct 20 09:11:34 2026 +0200
CAMEL-25784: camel-jbang - raise the core prompt budget of the AI panel for
the camel_get_errors description (#28149)
The camel_get_errors description that says it answers for an integration
that is not running (#28127) grew the core
prefix of the AI panel to ~5119 tokens, over the 5100 budget of
AiPanelPromptBudgetTest, which fails every PR build.
Signed-off-by: Claus Ibsen <[email protected]>
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
---
.../camel/dsl/jbang/core/commands/tui/AiPanelPromptBudgetTest.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git
a/dsl/camel-jbang/camel-jbang-plugin-tui/src/test/java/org/apache/camel/dsl/jbang/core/commands/tui/AiPanelPromptBudgetTest.java
b/dsl/camel-jbang/camel-jbang-plugin-tui/src/test/java/org/apache/camel/dsl/jbang/core/commands/tui/AiPanelPromptBudgetTest.java
index 036e04af2d6d..43b04bca73a4 100644
---
a/dsl/camel-jbang/camel-jbang-plugin-tui/src/test/java/org/apache/camel/dsl/jbang/core/commands/tui/AiPanelPromptBudgetTest.java
+++
b/dsl/camel-jbang/camel-jbang-plugin-tui/src/test/java/org/apache/camel/dsl/jbang/core/commands/tui/AiPanelPromptBudgetTest.java
@@ -50,7 +50,9 @@ class AiPanelPromptBudgetTest {
// raised from 5000 for the bounded component answer of camel_catalog_doc
(CAMEL-25541), measured ~5040: its limit
// argument, the docPage that also takes a section of the page, and the
full application.properties key replace
// the camel_component_properties tool and the 38k-character answers a
client spilled to a file
- static final int CORE_BUDGET_TOKENS = 5_100;
+ // raised from 5100 when camel_get_errors said that it answers for an
integration that is not running (CAMEL-25784),
+ // measured ~5119: without it an agent does not ask how the previous run
ended
+ static final int CORE_BUDGET_TOKENS = 5_200;
/** Measured ~6.9k tokens for 47 tools. */
// raised from 7500 with tui_write_file and tui_validate_source
// and from 7900 with the shared camel_* set (camel_catalog_find,
camel_run and camel_error_diagnose added)