style: move nolint:gosmopolitan to the line containing CJK literals
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
b81e4e407c
commit
3872d1b228
1 changed files with 3 additions and 2 deletions
|
|
@ -645,8 +645,9 @@ func (al *AgentLoop) processMessage(ctx context.Context, msg bus.InboundMessage)
|
|||
lower := strings.ToLower(content)
|
||||
|
||||
// Check for stop keywords
|
||||
stopKeywords := []string{ //nolint:gosmopolitan // intentional CJK stop words
|
||||
"stop", "cancel", "abort", "停止", "中止", "やめて",
|
||||
stopKeywords := []string{
|
||||
"stop", "cancel", "abort",
|
||||
"停止", "中止", "やめて", //nolint:gosmopolitan // intentional CJK stop words
|
||||
}
|
||||
isStop := false
|
||||
for _, kw := range stopKeywords {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue