Repository navigation
feat: add StepFun provider support - #400
Conversation
|
Caution Review failedPull request was closed or merged during review No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (8)
📝 WalkthroughWalkthroughThis PR adds ChangesStepfun Provider Support
Sequence Diagram(s)Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
stepfunprovider selection backed byOpenAICompatProviderhttps://api.stepfun.com/v1by default andSTEP_API_KEYenv fallbackVerification
uv run pytest tests/coding_agent/plugins/test_llm_provider.py tests/core/test_config.py tests/coding_agent/test_cli_pipeline.py::TestCliProviderChoices tests/coding_agent/test_cli_pipeline.py::TestHeadlessPipelineIsolation tests/coding_agent/test_bootstrap.py::TestBootstrap::test_create_agent_uses_stepfun_api_key_env_fallback tests/ui/test_http_server.py::TestSessionCreation::test_create_session_accepts_stepfun_runtime_provider tests/providers/test_openai_compat.py -q(83 passed)uv run ruff check src/coding_agent/app.py src/coding_agent/core/config.py src/coding_agent/plugins/llm_provider.py tests/coding_agent/plugins/test_llm_provider.py tests/core/test_config.py tests/coding_agent/test_cli_pipeline.py tests/coding_agent/test_bootstrap.py tests/ui/test_http_server.pygit diff --check -- .provider=stepfun,model=step-3.7-flash,STEP_API_KEYenv only; returned sanitized preview without printing secretsDogfood notes
DeepSeek v4-pro was used to drive the initial implementation attempt in this worktree. It completed the production-code core and hit max steps before tests; tests and final verification were completed manually.
Summary by CodeRabbit
New Features
STEP_API_KEYenvironment variableTests