Skip to content

[AI-assisted] Add MiniMax Watcher provider configuration - #9

Open
octo-patch wants to merge 2 commits into
SafeAI-Lab-X:mainfrom
octo-patch:octo/20260731-provider-add-recvqlaOJmwQg5
Open

[AI-assisted] Add MiniMax Watcher provider configuration#9
octo-patch wants to merge 2 commits into
SafeAI-Lab-X:mainfrom
octo-patch:octo/20260731-provider-add-recvqlaOJmwQg5

Conversation

@octo-patch

Copy link
Copy Markdown

Reason: Add first-class MiniMax configuration to the Watcher.

This change:

  • declares MiniMax-M3 and MiniMax-M2.7 with current context, pricing, input, and thinking metadata
  • adds global_en and cn_zh endpoint selection through typed provider settings
  • supports explicit configuration and daemon environment selection while preserving existing default behavior

AI-assisted: yes. Testing: full Python suite plus focused lint, formatting, and type checks.

Checks:

  • .venv/bin/python -m pytest (262 passed, 3 skipped)
  • .venv/bin/python -m ruff check clawkeeper_core/watcher/providers.py clawkeeper_core/watcher/__init__.py tests/test_watcher_provider.py
  • .venv/bin/python -m ruff format --check clawkeeper_core/watcher/providers.py clawkeeper_core/watcher/__init__.py tests/test_watcher_provider.py
  • .venv/bin/python -m mypy clawkeeper_core/watcher/providers.py
  • git diff --check

@octo-patch

Copy link
Copy Markdown
Author

Updated the MiniMax regional endpoint definitions to include the OpenAI-compatible URL, Anthropic-compatible URL, and documentation root for both regions, and pushed a new commit. I ran Ruff on the provider and test files, 26 Watcher tests, and mypy on the provider module.

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.

1 participant