chore(vendor): import pi 1.3.0

Imported as a linear vendor commit so forge rebases do not replay the upstream root tree.

git-subtree-dir: third_party/pi

git-subtree-split: 71023aec1546d6d677a65669c5665c0927ce0dd0
This commit is contained in:
2026-10-15 17:58:48 -04:00
parent 719370c8f7
commit 6081e3e325
1743 changed files with 205460 additions and 131705 deletions

View File

@@ -187,7 +187,7 @@ describe("Context overflow error handling", () => {
describe.skipIf(!hasAzureOpenAICredentials())("Azure OpenAI Responses", () => {
it("gpt-4o-mini - should detect overflow via isContextOverflow", async () => {
const model = getModel("azure-openai-responses", "gpt-4o-mini");
const model = getModel("azure", "gpt-4o-mini");
const result = await testContextOverflow(model, process.env.AZURE_OPENAI_API_KEY!);
logResult(result);
@@ -338,8 +338,8 @@ describe("Context overflow error handling", () => {
// =============================================================================
describe.skipIf(!process.env.TOGETHER_API_KEY)("Together AI", () => {
it("Kimi-K2.6 - should detect overflow via isContextOverflow", async () => {
const model = getModel("together", "moonshotai/Kimi-K2.6");
it("Kimi-K3 - should detect overflow via isContextOverflow", async () => {
const model = getModel("together", "moonshotai/Kimi-K3");
const result = await testContextOverflow(model, process.env.TOGETHER_API_KEY!);
logResult(result);
@@ -540,8 +540,8 @@ describe("Context overflow error handling", () => {
describe.skipIf(!process.env.OPENROUTER_API_KEY)("OpenRouter", () => {
// Anthropic backend
it("anthropic/claude-sonnet-4 via OpenRouter - should detect overflow via isContextOverflow", async () => {
const model = getModel("openrouter", "anthropic/claude-sonnet-4");
it("anthropic/claude-sonnet-4.5 via OpenRouter - should detect overflow via isContextOverflow", async () => {
const model = getModel("openrouter", "anthropic/claude-sonnet-4.5");
const result = await testContextOverflow(model, process.env.OPENROUTER_API_KEY!);
logResult(result);
@@ -563,7 +563,7 @@ describe("Context overflow error handling", () => {
// Mistral backend
it("mistralai/mistral-large-2512 via OpenRouter - should detect overflow via isContextOverflow", async () => {
const model = getModel("openrouter", "mistralai/mistral-large-2512");
const model = getModel("openrouter", "mistralai/mistral-large");
const result = await testContextOverflow(model, process.env.OPENROUTER_API_KEY!);
logResult(result);