[codex] Add Tiny Local tool-use profile#1719
Merged
3clyp50 merged 2 commits intoJun 24, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Tiny Localprofile with a minimal action-first JSON/tool-use contract for small local models.docs/guides/local-model-tool-use.md.code_execution_tool,text_editor, andresponseso qwen-sized models avoid visible reasoning, repeated writes, and continuation-status loops.open_in_canvas: trueMarkdown writes actually open the changed file in the Editor canvas.Why
PR #1714 was doing too much in core framework/runtime code. This branch keeps the replacement on prompt/profile/plugin surfaces unless later evidence proves deeper framework changes are required.
The local-model failure modes reproduced with
qwen3.5:9bwere:excellent proceed/okay continueproducing duplicate status responses,open_in_canvas: truein the tool result while the Editor canvas stayed on its empty start state.Core-code audit
No core framework code is changed in this branch.
I explicitly checked the staged diff for core paths with:
That command returned no matches before commit.
The staged files are limited to:
agents/profile files and profile DOX,docs/guides/user documentation,plugins/_editorandplugins/_text_editor,Plugin-code explanation
This branch does include bundled plugin code changes, but not core Agent Zero framework/runtime changes.
plugins/_text_editor/tools/text_editor.pynow includes the active agent context id in write/patch result metadata when available. This lets UI consumers know which chat context produced a Markdown file update.plugins/_editor/extensions/webui/set_messages_after_loop/sync-text-editor-results.jsnow:context_id/ctxidfrom text-editor results,open_in_canvas: trueresults to open the Editor even on the first rendered chat turn,plugins/_editor/webui/editor-store.jsnow honors an explicit context id passed by the tool-result handoff instead of always falling back to the currently selected UI context.These plugin changes are what make
Create and open a TODO.md list in the Canvas.actually openTODO.mdin the right Editor canvas after the text-editor write succeeds.Validation
git diff --cached --checkpython3 -m py_compile tests/test_default_prompt_budget.py tests/test_tool_action_contracts.py tests/test_text_editor_context_patch.py tests/test_office_canvas_setup.py plugins/_text_editor/tools/text_editor.pynode --check plugins/_editor/extensions/webui/set_messages_after_loop/sync-text-editor-results.jsnode --check plugins/_editor/webui/editor-store.jsruby -e 'require "yaml"; p YAML.load_file("agents/tiny-local/agent.yaml")'qwen3.5:9b+Tiny Local:Create and open a TODO.md list in the Canvas.wroteTODO.mdand opened it in the Editor canvas.qwen3.5:9bcontinuation smokes:excellent proceedandokay continueemittedcode_execution_toolinstead of duplicateresponsestatus text.Full pytest was not run because the current host/container test environments are missing required test dependencies (
tiktoken/litellmon host,pytestin the container).