Skip to content

feat: add streaming mode support for LLM API#185

Open
myc999 wants to merge 1 commit into
AIDC-AI:mainfrom
myc999:feature/llm-stream-support
Open

feat: add streaming mode support for LLM API#185
myc999 wants to merge 1 commit into
AIDC-AI:mainfrom
myc999:feature/llm-stream-support

Conversation

@myc999
Copy link
Copy Markdown

@myc999 myc999 commented Jun 1, 2026

Summary

  • Add streaming mode option for LLM API calls
  • Some API services only support streaming responses, this option enables compatibility
  • New checkbox in settings UI: "启用流式输出 (Stream Mode)"

Changes

  • pixelle_video/config/schema.py: Add stream field to LLMConfig
  • pixelle_video/config/manager.py: Add stream parameter to get/set methods
  • pixelle_video/services/llm_service.py: Add _call_with_stream() method for streaming calls
  • web/components/settings.py: Add stream mode toggle checkbox

Test Plan

  • Enable stream mode in settings
  • Test with streaming-only API services
  • Test with standard non-streaming API services (backward compatible)

🤖 Generated with Claude Code

@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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.

2 participants