Skip to content

Preserve MiniMax image and video inputs - #109

Open
octo-patch wants to merge 2 commits into
1rgs:mainfrom
octo-patch:octo/20260811-input-capability-recvrpP6YLzti8
Open

Preserve MiniMax image and video inputs#109
octo-patch wants to merge 2 commits into
1rgs:mainfrom
octo-patch:octo/20260811-input-capability-recvrpP6YLzti8

Conversation

@octo-patch

Copy link
Copy Markdown

Reason: MiniMax multimodal requests currently lose image data and reject video content before forwarding.

  • Accept video content blocks in message validation.
  • Convert image and video sources into URL content parts instead of text placeholders.
  • Preserve validated multimodal lists through request normalization.

Checks:

  • uv run python -m unittest discover -p 'test*.py' -v
  • uv run python -m compileall -q server.py test_multimodal.py

@octo-patch

Copy link
Copy Markdown
Author

Updated the multimodal conversion to preserve documented image and video source options (detail, fps, and max_long_side_pixel) and pushed a new commit. I ran uv run python -m unittest discover -p 'test*.py' -v, uv run python -m compileall -q server.py test_multimodal.py, and git diff --check.

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