fix(core): clarify web search provider prompt (#39123)

This commit is contained in:
Shoubhit Dash 2026-07-27 19:52:36 +05:30 committed by GitHub
parent 9977ef0160
commit 7d4de3d9e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -58,13 +58,13 @@ export const Plugin = {
if (providers.length === 0) return yield* new WebSearch.ProviderRequiredError()
const response = yield* forms.ask({
sessionID: context.sessionID,
title: "Choose a web search provider",
title: "Choose a provider so the agent can search the web",
metadata: { kind: "websearch.provider" },
fields: [
{
key: "provider",
title: "Provider",
description: "This becomes your default and can be changed later in configuration.",
description: "OpenCode will use your choice for future searches.",
type: "string",
required: true,
custom: false,