Skip to content

chore: sync main with Zoo-Code-Org upstream (2026-05-19)#7

Merged
proyectoauraorg merged 3 commits into
mainfrom
sync/upstream-2026-05-19
May 19, 2026
Merged

chore: sync main with Zoo-Code-Org upstream (2026-05-19)#7
proyectoauraorg merged 3 commits into
mainfrom
sync/upstream-2026-05-19

Conversation

@proyectoauraorg
Copy link
Copy Markdown
Owner

Summary

Syncs proyectoauraorg/Zoo-Code main branch with the latest upstream changes from Zoo-Code-Org/Zoo-Code.

Changes from upstream

Notes

doctarock and others added 3 commits May 19, 2026 16:58
* refactor(core): extract monolith helpers

Refs #8

* fix: address PR 27 review feedback

* fix: defensively copy pending edit images

* fix: preserve reasoning summary field

* test: cover api conversation edge cases

* docs: clarify reasoning summary fallback
* FEATURE: Add Xiaomi MiMo as a first-class API provider

- New MimoHandler with reasoning_content passthrough for multi-turn tool calling
- Custom message conversion preserving MiMo's interleaved thinking chain
- Strip OpenAI-specific extensions (strict, additionalProperties) from tool schemas
- Models: mimo-v2.5-pro, mimo-v2.5, mimo-v2-flash with official pricing
- UI settings with 4 base URL options (3 Token Plan regions + Pay-as-you-go)
- Full wiring: types, schema, model picker, i18n, provider config

* Update openrouter.ts

* Preserve Mimo reasoning fields & switch AMS endpoint

Update Mimo provider config and UI to use the token-plan-ams endpoint instead of the old FRA host. Allow Mimo assistant messages with string content to include and preserve a reasoning_content field when present. Also avoid attaching mapped reasoning_details when converting messages for Mimo models (skip mapping if modelId matches /mimo/i) to preserve the provider's original shape. Types, API handler, transform logic, and the settings UI were updated to keep Mimo-specific reasoning data intact and align the endpoint selection.

* Add MiMo i18n translations to all 17 locales and unit tests

Also hide the "not sure which model" hint for the MiMo provider
since it's a static model list, not fetched dynamically.

* Address CodeRabbit review feedback

Fix Japanese translation consistency, strengthen base URL tests to
verify actual values, and add ModelPicker test for MiMo hint hiding.

* Expand MiMo test coverage and remove dev/null files from PR

Added tests for tool_call_partial streaming, cache token usage,
API error handling, message conversion pipeline, empty delta chunks,
and tools parameter presence/absence. Removed dev/null/ hook files
that were accidentally included in the branch.

* Use data-testid for automaticFetch hint instead of i18n key matching

* Remove mimo-v2-flash model that no longer supports thinking mode

* Replace mimo-v2-flash with mimo-v2-pro model

* Drop mimo-v2-flash since it doesn't support thinking mode

* Address maintainer feedback: revert unrelated changes, add i18n, fix stream_options

* Update doc links to use puter developer URLs

* Fix i18n: JP spacing, FR translations, add multimodal support to message conversion

* Add docstrings and document mimo-v2-flash exclusion rationale

* Address edelauna review: sanitize tool IDs, use handleProviderError, fix prompt cache, clean up comments

* Fold text into last tool message to preserve reasoning continuity

* Refactor: use shared convertToR1Format, processToolCalls, cleanup unused imports/props

* Remove dead temperature param, add 2-tier pricing, clarify strict stripping

* Remove strict/additionalProperties stripping — proxy no longer rejects it

* Use longContextPricing instead of tiers for cost calculation

* Remove stale convertToolsForOpenAI tests (stripping removed)
@proyectoauraorg proyectoauraorg merged commit 2cd864c into main May 19, 2026
@proyectoauraorg proyectoauraorg deleted the sync/upstream-2026-05-19 branch May 20, 2026 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants