Skip to content

Add MiniMax prompt enhancer configuration - #138

Open
octo-patch wants to merge 1 commit into
meituan-longcat:mainfrom
octo-patch:octo/20260801-provider-add-recvqiY2GR0Fzd
Open

Add MiniMax prompt enhancer configuration#138
octo-patch wants to merge 1 commit into
meituan-longcat:mainfrom
octo-patch:octo/20260801-provider-add-recvqiY2GR0Fzd

Conversation

@octo-patch

Copy link
Copy Markdown

Reason: Add MiniMax prompt-enhancement support with configurable global and CN endpoints.

Summary:

  • configure the prompt enhancer with MiniMax API key, region, base URL override, and supported text/image model settings
  • route text prompt enhancement through MiniMax-M3 by default while allowing MiniMax-M2.7
  • route image prompt enhancement through MiniMax-M3
  • add focused unit coverage for endpoint selection and prompt request model routing

Checks:

  • python3 -m unittest tests.test_prompt_enhancer
  • python3 -m py_compile longcat_video/utils/prompt_enhancer.py tests/test_prompt_enhancer.py
  • git diff --check
  • Required secret scan

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