Skip to content

Commit

Permalink
refactor: 更改为使用外部aichat
Browse files Browse the repository at this point in the history
  • Loading branch information
rehiy committed Mar 21, 2024
1 parent c6ec06e commit 697f41d
Show file tree
Hide file tree
Showing 15 changed files with 100 additions and 745 deletions.
2 changes: 0 additions & 2 deletions build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ go build -ldflags="-s -w" -o %target% main.go

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

MD build\wcferry

COPY README.md build\
COPY config.yml build\

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require (
github.com/importcjj/sensitive v0.0.0-20200106142752-42d1c505be7b
github.com/mitchellh/mapstructure v1.5.0
github.com/opentdp/go-helper v0.7.1
github.com/rehiy/one-llm v0.1.1-0.20240319025233-953540e77585
github.com/rehiy/one-llm v0.2.0
github.com/sashabaranov/go-openai v1.20.4
go.nanomsg.org/mangos/v3 v3.4.2
google.golang.org/protobuf v1.33.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ github.com/pelletier/go-toml/v2 v2.2.0 h1:QLgLl2yMN7N+ruc31VynXs1vhMZa7CeHHejIeB
github.com/pelletier/go-toml/v2 v2.2.0/go.mod h1:1t835xjRzz80PqgE6HHgN2JOsmgYu/h4qDAS4n929Rs=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/rehiy/one-llm v0.1.1-0.20240319025233-953540e77585 h1:FSN2syqi5/qSZV+qbIZNtSM8ax9Xi77xXHT0xGlkBnw=
github.com/rehiy/one-llm v0.1.1-0.20240319025233-953540e77585/go.mod h1:eKi5XiUxPjmTv6UPgiqaULZX5DX3zh0T+eGekrdY5/U=
github.com/rehiy/one-llm v0.2.0 h1:1j1jUYAiCffaeQcBAdJNnGvhPRP64t72P3mcn3pfQvw=
github.com/rehiy/one-llm v0.2.0/go.mod h1:Hvz5KUo9hy+fkwIDwG2ZtZtlHZzVrUhvAau+4/0oZZI=
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec h1:W09IVJc94icq4NjY3clb7Lk8O1qJ8BdBEF8z0ibU0rE=
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo=
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
Expand Down
139 changes: 0 additions & 139 deletions wclient/aichat/adapter.go

This file was deleted.

70 changes: 0 additions & 70 deletions wclient/aichat/aliyun.go

This file was deleted.

79 changes: 0 additions & 79 deletions wclient/aichat/baidu.go

This file was deleted.

Loading

0 comments on commit 697f41d

Please sign in to comment.