@opencode-ai/schema 0.0.0-dev-19195 → 0.0.0-dev-19200
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config/websearch.js +6 -1
- package/package.json +1 -1
package/dist/config/websearch.js
CHANGED
|
@@ -2,7 +2,12 @@ export * as ConfigWebSearch from "./websearch.js";
|
|
|
2
2
|
import { Schema } from "effect";
|
|
3
3
|
import { WebSearch } from "../websearch.js";
|
|
4
4
|
export class Info extends Schema.Class("ConfigWebSearch.Info")({
|
|
5
|
-
provider: Schema.Union([
|
|
5
|
+
provider: Schema.Union([
|
|
6
|
+
Schema.Literal("random").annotate({
|
|
7
|
+
description: "Reuse a randomly selected provider until it is rate limited, then switch to another available provider.",
|
|
8
|
+
}),
|
|
9
|
+
WebSearch.ID,
|
|
10
|
+
]),
|
|
6
11
|
}) {
|
|
7
12
|
}
|
|
8
13
|
export const Selection = Schema.Union([Schema.Literal(false), Info]);
|