Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
fa72f194
Unverified
Commit
fa72f194
authored
Mar 08, 2026
by
时雨遥
Committed by
GitHub
Mar 08, 2026
Browse files
Update backend/internal/service/gateway_request_test.go
Co-authored-by:
Copilot
<
175728472+Copilot@users.noreply.github.com
>
parent
9ee7d393
Changes
1
Hide whitespace changes
Inline
Side-by-side
backend/internal/service/gateway_request_test.go
View file @
fa72f194
...
@@ -584,11 +584,14 @@ func TestFilterSignatureSensitiveBlocksForRetry_RemovesClearThinkingStrategy(t *
...
@@ -584,11 +584,14 @@ func TestFilterSignatureSensitiveBlocksForRetry_RemovesClearThinkingStrategy(t *
cm
,
ok
:=
req
[
"context_management"
]
.
(
map
[
string
]
any
)
cm
,
ok
:=
req
[
"context_management"
]
.
(
map
[
string
]
any
)
require
.
True
(
t
,
ok
)
require
.
True
(
t
,
ok
)
edits
,
_
:=
cm
[
"edits"
]
.
([]
any
)
if
rawEdits
,
hasEdits
:=
cm
[
"edits"
];
hasEdits
{
for
_
,
e
:=
range
edits
{
edits
,
ok
:=
rawEdits
.
([]
any
)
em
,
ok
:=
e
.
(
map
[
string
]
any
)
require
.
True
(
t
,
ok
)
require
.
True
(
t
,
ok
)
require
.
NotEqual
(
t
,
"clear_thinking_20251015"
,
em
[
"type"
],
"clear_thinking_20251015 应被移除"
)
for
_
,
e
:=
range
edits
{
em
,
ok
:=
e
.
(
map
[
string
]
any
)
require
.
True
(
t
,
ok
)
require
.
NotEqual
(
t
,
"clear_thinking_20251015"
,
em
[
"type"
],
"clear_thinking_20251015 应被移除"
)
}
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment