refactor: import shared Plexum-anthropic-compat-client lib
Same refactor as Plexum-minimax-provider — drop the duplicated
internal/{anthropic,translate}, import from the shared
Plexum-anthropic-compat-client repo. UserAgent + ExtraHeaders fields
the Kimi plugin needs already live on Client there.
No behavioral change. Live re-verified after refactor: plexum say →
"ready" (via Kimi K2.6).
This commit is contained in:
10
go.mod
10
go.mod
@@ -2,6 +2,12 @@ module git.hangman-lab.top/hzhang/Plexum-kimi-provider
|
||||
|
||||
go 1.24.2
|
||||
|
||||
require git.hangman-lab.top/hzhang/Plexum-sdk-go v0.0.0
|
||||
require (
|
||||
git.hangman-lab.top/hzhang/Plexum-anthropic-compat-client v0.0.0
|
||||
git.hangman-lab.top/hzhang/Plexum-sdk-go v0.0.0
|
||||
)
|
||||
|
||||
replace git.hangman-lab.top/hzhang/Plexum-sdk-go => ../Plexum-sdk-go
|
||||
replace (
|
||||
git.hangman-lab.top/hzhang/Plexum-anthropic-compat-client => ../Plexum-anthropic-compat-client
|
||||
git.hangman-lab.top/hzhang/Plexum-sdk-go => ../Plexum-sdk-go
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user