refactor: import shared Plexum-anthropic-compat-client lib

internal/anthropic and internal/translate moved to the new
Plexum-anthropic-compat-client repo (extracted from MiniMax + Kimi
duplicates). cmd/plexum-minimax-provider-plugin imports them from
the shared module instead.

No behavioral change — same wire client, same translator.
Live re-verified after refactor: plexum say → "ready".
This commit is contained in:
h z
2026-05-31 20:35:09 +01:00
parent b7fad6dd26
commit 724075a8d6
6 changed files with 10 additions and 730 deletions

10
go.mod
View File

@@ -2,6 +2,12 @@ module git.hangman-lab.top/hzhang/Plexum-minimax-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
)