davsclaus opened a new pull request, #26487:
URL: https://github.com/apache/camel/pull/26487

   The core tool subset is what a local model gets automatically (`auto` mode 
picks it for any local endpoint). Two commits, from the preparation of the next 
benchmark series (CAMEL-24698):
   
   **`camel_catalog_find` joins the core set; the prefix budgets are raised.** 
`find` turns a product or protocol name (postgres, mqtt, artemis) into a 
component, the first question of every intermediate example, and it was outside 
the core set only for lack of room (4,291 of 4,300 estimated tokens after 
CAMEL-24712). The budgets guard against accidental growth of the prefix, not a 
limit of any model, and a 32k context leaves ample room: core 5,000, full 
9,200, system prompt 620. Two lines in the system prompt that the benchmark 
traces earned: write files only with `camel_write_file`, never paste file 
contents in the answer (the most frequent failure of a small model after a 
correct hint); the canonical YAML DSL shape, since the shorthand a model writes 
from memory is deprecated since CAMEL-24722.
   
   **`tui_get_diagram`, `tui_filter` and `tui_set_log_level` leave the core 
set.** A tool earns its place there by the questions a local model gets asked, 
not by its size: `tui_get_topology` answers how routes relate as JSON (the 
ASCII drawing is for the screen, and `tui_navigate` shows it to the user), the 
whole table comes back without a filter, and the root log level is a rare 
request. About 620 characters less in every request. `tui_get_spans` and 
`tui_get_topology` stay: OpenTelemetry and route topology are the questions 
people cannot answer alone. The prompt line on the log level appears only with 
the full set, where the tool is.
   
   Tests: `AiPanelPromptBudgetTest` (budgets and the prompt), `AiPanelTest`, 
`TuiToolRegistryCoreToolsTest`, `AuthoringToolsTest` (the wrappers match the 
descriptors). Based on #26483, which touches the same descriptors.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   
   https://claude.ai/code/session_01Bp3538HRBPMQkb5ta9xRaj
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to