feat: 支持多行输入、API Key 环境变量覆盖和七牛云 Provider#84
Closed
wynxing wants to merge 12 commits into
Closed
Conversation
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更概览
这个 PR 主要围绕 NeoCode MVP 的可用性和配置体验做了一轮增强,包含三部分:
主要改动
1. TUI 交互增强
Ctrl+J,为多行输入让出Enter/apikeySlash Command,用于设置当前运行时优先读取的 API Key 环境变量名2. 配置与 Provider 能力增强
api_key_env_overrideapi_key_env_override持久化到config.yaml=EffectiveSelectedProviderConfig/WithAPIKeyEnvOverride等逻辑,统一在配置层收敛 API Key 环境变量覆盖3. 新增七牛云 Provider
qiniuyunQINIUYUN_API_KEYz-ai/glm-5minimax/minimax-m2.5moonshotai/kimi-k2.5deepseek/deepseek-v3.2-2512014. 文档更新
/apikey、api_key_env_override和qiniuyun的使用说明测试变更
config相关测试:qiniuyunProvider 测试影响说明
Enter/Ctrl+S调整为Ctrl+Japi_key_env_overrideqiniuyun后续关注点
api_key_env_override的实际读取行为