v0.1.2 -> v0.2.0
Summary
Introduces streaming responses across supported chat backends, corrects Gemini function-response role handling, and unifies the router’s public Go package naming. Public documentation and licensing now accompany the expanded integration surface.
翻譯
本版為支援的聊天後端導入串流回應,修正 Gemini 函式回應的角色處理,並統一路由器的公開 Go 套件命名。同步補齊公開文件與授權資訊,支援擴大的整合介面。
⚠️ Breaking Changes
Public Go package renamed from provider to core
The public package previously imported as github.com/pardnchiu/go-llm-router/provider is now imported as github.com/pardnchiu/go-llm-router/core. Update all imports and qualified references accordingly; no additional public API signature changes were introduced by this rename.
Migration:
// Old
import "github.com/pardnchiu/go-llm-router/provider"
func newAgent(config provider.Config) {
client := provider.NewHTTPClient()
_ = client
_ = config
}
// New
import "github.com/pardnchiu/go-llm-router/core"
func newAgent(config core.Config) {
client := core.NewHTTPClient()
_ = client
_ = config
}
翻譯
公開 Go 套件已由 provider 更名為 core。請將 github.com/pardnchiu/go-llm-router/provider 的所有 import 與限定名稱改為 github.com/pardnchiu/go-llm-router/core 和 core;此次重新命名未引入其他公開 API 簽章調整。
Changes
FEAT
- Add streaming agent interface and Claude SSE streaming support (@pardnchiu) [756d97f]
- Add Copilot streaming support for chat and Responses APIs (@pardnchiu) [0eec7cd]
翻譯
- 新增串流 Agent 介面與 Claude SSE 串流支援
- 新增 Copilot Chat 與 Responses API 串流支援
FIX
- Default empty Gemini message roles to user (@pardnchiu) [da45bc3]
- Use the user role for Gemini function responses (@pardnchiu) [ff032c9]
翻譯
- 將空白 Gemini 訊息角色預設為 user
- 將 Gemini 函式回應改用 user 角色
DOC
- Add MIT license and regenerate bilingual public documentation (@pardnchiu) [3cdd918]
翻譯
- 新增 MIT 授權並重新產生雙語公開文件
Scope
core/claude/— FEAT, BREAKINGcore/copilot/— FEAT, BREAKINGcore/gemini/— FIX, BREAKINGcore/— BREAKINGREADME.md,doc/,LICENSE— DOC
Generated by SKILL