Skip to content

Add chatbotlight/chatbotprofile and lightweight chatbot runtime profiles#140

Draft
nmaguiar wants to merge 1 commit intomainfrom
codex/elaborate-plan-to-improve-chatbot-mode
Draft

Add chatbotlight/chatbotprofile and lightweight chatbot runtime profiles#140
nmaguiar wants to merge 1 commit intomainfrom
codex/elaborate-plan-to-improve-chatbot-mode

Conversation

@nmaguiar
Copy link
Copy Markdown
Contributor

@nmaguiar nmaguiar commented Apr 6, 2026

Motivation

  • Provide a constrained chatbot runtime for small/very-small models to improve reliability by reducing action complexity and retry budgets.
  • Expose runtime knobs so callers can opt into lightweight behavior and pick a profile (default, small, tiny).
  • Offer a convenient preset for small-model chatbot usage to simplify configuration.

Description

  • Added new CLI/config options and docs entries: chatbotlight and chatbotprofile in README.md, USAGE.md, mini-a.yaml, mini-a-web.yaml, mini-a-con.js, and mini-a.js plus UI/job schema updates.
  • Introduced chatbot-lite mode in mini-a-modes.yaml that sets chatbotmode=true chatbotlight=true chatbotprofile=small promptprofile=minimal and related defaults.
  • Implemented MiniA.prototype._resolveChatbotRuntimeProfile in mini-a.js to map profiles to runtime constraints (constrainedActions, allowActionArrays, includeToolDetails, maxRepairRetries, maxActionEntries, defaultMaxSteps).
  • Updated system/chatbot prompts to surface a LIGHTWEIGHT MODE section when constrained, added conditional multi-action guidance, and wired profile attributes into chatbot initialization and step handling (max steps, truncating actionEntries, repair-loop counting via chatbotRepairCount, and a queueRepairPrompt helper).

Testing

  • No automated tests were executed as part of this change.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant