Skip to content

feat: add SiliconFlow preset for OpenAI-compatible provider - #369

Open
nameless0120 wants to merge 1 commit into
JerryZLiu:mainfrom
nameless0120:feat/siliconflow-provider
Open

feat: add SiliconFlow preset for OpenAI-compatible provider#369
nameless0120 wants to merge 1 commit into
JerryZLiu:mainfrom
nameless0120:feat/siliconflow-provider

Conversation

@nameless0120

@nameless0120 nameless0120 commented Sep 1, 2026

Copy link
Copy Markdown

Summary

Adds SiliconFlow as a preset in Dayflow's existing OpenAI-compatible provider setup.

This makes the OpenAI-compatible provider path easier to use without adding a separate provider implementation. Users can choose SiliconFlow and get the expected endpoint, default model, and request behavior up front, while Dayflow keeps using the same setup, routing, and networking flow.

This also tightens provider configuration handling:

  • initializes SiliconFlow with its endpoint and Qwen/Qwen3.6-35B-A3B
  • keeps OpenRouter, SiliconFlow, and Custom drafts separate
  • stores API keys per preset so switching providers does not reuse the wrong key
  • migrates the old shared OpenAI-compatible key only into the active preset
  • sends enable_thinking: false only for SiliconFlow requests
  • documents SiliconFlow alongside the existing optional AI providers

Tests

  • xcodebuild -project Dayflow/Dayflow.xcodeproj -scheme Dayflow -only-testing:DayflowTests test -destination "platform=macOS" CODE_SIGNING_ALLOWED=NO

@nameless0120 nameless0120 changed the title Add SiliconFlow as an OpenAI-compatible provider feat: add SiliconFlow preset for OpenAI-compatible provider Sep 1, 2026
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