mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-12-04 12:08:11 +00:00
Suggest gpt-6.1-terra for Main and gpt-6-luna for Utility through Codex provider metadata, while preserving explicit model lists and the live account catalog. Change the final onboarding action to Continue and close the wizard without creating another chat. The existing model-gate event resumes the held message in its original chat. Update the onboarding guide and ready-screen capture. Add regressions for recommended and explicit model selection, configured catalog order, held-message dispatch and completion without a pending chat. Validation: 244 focused Python tests, three onboarding Node tests and the OAuth reconnect check passed. Verified on the dedicated instance that Continue closes the wizard and preserves the selected chat and chat list.
1.7 KiB
1.7 KiB
Onboarding Plugin DOX
Purpose
- Own the built-in first-time onboarding wizard for model configuration.
Ownership
plugin.yamlowns metadata and always-enabled status.webui/owns onboarding providers, wizard store, modal/page markup, and thumbnail.
Local Contracts
- Keep onboarding provider choices synchronized with model configuration and provider metadata.
- Do not ask for or expose API keys outside approved settings/API flows.
- Avoid blocking already-configured users with unnecessary onboarding prompts.
- Completion updates the selected global model preset (normally immutable-name
Default); advanced setup opens that preset in the shared editor. - Completing setup dispatches
onboarding-configuredso the model gate can resume its held message in the original chat. The Ready action isContinue: it closes the wizard without creating or selecting a chat, including when opened outside a chat. - Cloud, Account, and Local share a left-aligned, neutral puzzle-icon text button below their provider grids. It replaces the Account/Local pane notes and closes onboarding without saving before opening Plugin Hub Browse with the exact
providertag filter and no previous search.
Work Guidance
- Coordinate provider changes with
_model_configand_oauthwhen account-backed providers are involved.
Verification
- Smoke-test first-run onboarding, provider selection, completion, and skip/close behavior after changes.
- Run
node --test tests/test_onboarding.mjsfor preferred model selection, held-message continuation and the Ready action; runpytest tests/test_onboarding_static.pyfor markup/provider contracts.
Child DOX Index
No child DOX files.