@agentproto/adapter-pi 0.2.0 → 0.2.1
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/index.mjs +6 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -18801,12 +18801,14 @@ var pi = defineAgentCli({
|
|
|
18801
18801
|
},
|
|
18802
18802
|
models: {
|
|
18803
18803
|
// Pi's `--model <pattern>` accepts `provider/id` (verified against pi
|
|
18804
|
-
// 0.80.x cli/args.ts + core/model-resolver.ts).
|
|
18804
|
+
// 0.80.x cli/args.ts + core/model-resolver.ts). `provider` below is
|
|
18805
|
+
// read straight off that same prefix — pi routes on it directly, no
|
|
18806
|
+
// adapter mode needed.
|
|
18805
18807
|
default: "anthropic/claude-sonnet-4-5",
|
|
18806
18808
|
allowed: [
|
|
18807
|
-
"anthropic/claude-sonnet-4-5",
|
|
18808
|
-
"openai/gpt-5.1",
|
|
18809
|
-
"google/gemini-2.5-flash"
|
|
18809
|
+
{ id: "anthropic/claude-sonnet-4-5", provider: "anthropic" },
|
|
18810
|
+
{ id: "openai/gpt-5.1", provider: "openai" },
|
|
18811
|
+
{ id: "google/gemini-2.5-flash", provider: "google" }
|
|
18810
18812
|
],
|
|
18811
18813
|
env: {
|
|
18812
18814
|
anthropic: "ANTHROPIC_API_KEY",
|