mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-31 18:03:34 +00:00
fix(core): clarify web search provider prompt (#39123)
This commit is contained in:
parent
9977ef0160
commit
7d4de3d9e4
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue