chore(openai_compat): fix golines formatting for CI linter

This commit is contained in:
程智超0668000959 2026-06-12 13:44:34 +08:00
parent 409cc051e7
commit d26e4eca7d

View file

@ -160,7 +160,10 @@ func (p *Provider) buildRequestBody(
// treat it as false — web_search_preview must not be injected
// when the caller cannot express a well-typed intent.
if _, present := options["native_search"]; present {
log.Printf("[openai_compat] native_search option has unexpected type %T, ignoring", options["native_search"])
log.Printf(
"[openai_compat] native_search option has unexpected type %T, ignoring",
options["native_search"],
)
}
}
nativeSearch = nativeSearch && isNativeSearchHost(p.apiBase)