Skip to content

Commit be42865

Browse files
chore(lint): 改进代码样式 (#1267)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent ac2d9bb commit be42865

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ require (
2727
github.com/fumiama/go-onebot-agent v0.0.0-20260106161505-f7d25272034c
2828
github.com/fumiama/go-registry v0.2.7
2929
github.com/fumiama/gotracemoe v0.0.3
30+
github.com/fumiama/imgsz v0.0.4
3031
github.com/fumiama/jieba v0.0.0-20221203025406-36c17a10b565
3132
github.com/fumiama/slowdo v0.0.0-20241001074058-27c4fe5259a4
3233
github.com/fumiama/terasu v1.0.2
@@ -65,7 +66,6 @@ require (
6566
github.com/ericpauley/go-quantize v0.0.0-20200331213906-ae555eb2afa4 // indirect
6667
github.com/fumiama/go-simple-protobuf v0.2.0 // indirect
6768
github.com/fumiama/gofastTEA v0.1.3 // indirect
68-
github.com/fumiama/imgsz v0.0.4 // indirect
6969
github.com/fumiama/orbyte v0.0.0-20251002065953-3bb358367eb5 // indirect
7070
github.com/gabriel-vasile/mimetype v1.4.12 // indirect
7171
github.com/go-ole/go-ole v1.2.6 // indirect

plugin/aichat/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ func init() {
115115
ctx.NoTimeout()
116116
logrus.Debugln("[aichat] agent set no timeout")
117117
hasresp := false
118-
//ispuremsg := false
118+
// ispuremsg := false
119119
//hassavemem := false
120120
for i := 0; i < 8; i++ { // 最大运行 8 轮因为问答上下文只有 16
121121
reqs := chat.CallAgent(ag, zero.SuperUserPermission(ctx), i+1, x, mod, gid, role)

0 commit comments

Comments
 (0)