pi-mono/packages/ai/test
2026-09-11 15:08:41 +02:00
..
data feat(ai): Add image input tests for vision-capable models 2025-08-30 18:37:17 +02:00
abort.test.ts feat(ai): add Qwen Token Plan Individual provider (#7659) 2026-08-06 17:18:02 +02:00
anthropic-adaptive-thinking-models.test.ts fix(ai): accept Fireworks models in adaptive thinking metadata test 2026-09-10 10:31:35 +02:00
anthropic-auth-token.test.ts feat(ai): preserve Anthropic per-turn thinking effort 2026-09-02 21:39:29 +02:00
anthropic-cache-write-1h-cost.test.ts feat(ai): preserve Anthropic per-turn thinking effort 2026-09-02 21:39:29 +02:00
anthropic-eager-tool-input-compat.test.ts feat(ai): add strict tool schema conversion 2026-08-11 12:06:33 +02:00
anthropic-eager-tool-input-e2e.test.ts fix(ai): type Anthropic probes by catalog providers 2026-07-14 12:29:38 +02:00
anthropic-empty-thinking-signature-compat.test.ts fix(ai): preserve Fireworks thinking and native effort levels 2026-09-10 09:51:31 +02:00
anthropic-force-adaptive-thinking.test.ts kimi: add low,high to k3 and remove k2p7 references 2026-07-20 09:00:15 +00:00
anthropic-long-cache-retention-e2e.test.ts fix(ai): type Anthropic probes by catalog providers 2026-07-14 12:29:38 +02:00
anthropic-mid-conversation-effort.test.ts feat(ai): preserve Anthropic per-turn thinking effort 2026-09-02 21:39:29 +02:00
anthropic-oauth.test.ts fix(coding-agent): make model refresh cancellation caller-owned 2026-08-04 00:03:52 +02:00
anthropic-opus-4-8-smoke.test.ts fix(ai): revert selective pi-ai base entrypoints 2026-06-22 12:54:32 +02:00
anthropic-sse-parsing.test.ts feat(ai): preserve Anthropic per-turn thinking effort 2026-09-02 21:39:29 +02:00
anthropic-temperature-compat.test.ts fix(ai): revert selective pi-ai base entrypoints 2026-06-22 12:54:32 +02:00
anthropic-thinking-binding-e2e.test.ts feat(ai): preserve Anthropic per-turn thinking effort 2026-09-02 21:39:29 +02:00
anthropic-thinking-disable.test.ts fix(ai): update generated model catalogue 2026-06-30 22:12:48 +02:00
anthropic-tool-name-normalization.test.ts fix(ai): revert selective pi-ai base entrypoints 2026-06-22 12:54:32 +02:00
assistant-message-frame.test.ts fix(ai): preserve provider thinking level in frames 2026-09-03 14:26:49 +02:00
azure-openai-base-url.test.ts Add pi user-agent to most api adapters (#8361) 2026-08-19 15:56:26 +02:00
azure-openai-responses-reasoning-replay.test.ts feat(ai): expose pending stop reason while streaming (#7151) 2026-07-27 11:56:15 +02:00
azure-openai-tool-choice.test.ts feat(ai): add simple tool choice option 2026-08-18 08:41:24 +02:00
azure-utils.ts add Azure deployment name map and refresh generated models 2026-01-24 12:04:34 +01:00
baseten-models.test.ts fix: repair Baseten and coding-agent test checks 2026-09-03 11:40:37 +02:00
bedrock-convert-messages.test.ts fix(ai): sanitize empty Bedrock tool argument keys (#7882) 2026-08-10 21:46:42 +02:00
bedrock-credentials.test.ts fix(ai): prefer configured Bedrock profile over ambient AWS keys (#7176) 2026-07-28 08:38:35 +02:00
bedrock-custom-headers.test.ts feat(ai): compat entrypoint, core-only root barrel (phase 5) 2026-06-10 21:17:12 +02:00
bedrock-endpoint-resolution.test.ts fix(ai): filter ambient auth markers in compat dispatch 2026-07-11 13:38:48 +02:00
bedrock-error-metadata.test.ts feat(ai): preserve structured metadata for Bedrock provider errors (#7286) 2026-07-30 22:32:20 +02:00
bedrock-models.test.ts feat(ai): support Claude Opus 5 on Bedrock (#7081) 2026-07-25 08:25:23 +02:00
bedrock-raw-stop-reason.test.ts update error messages copy to be more generic 2026-07-29 16:29:37 +00:00
bedrock-redacted-reasoning.test.ts fix(ai): round-trip Bedrock redacted reasoning (#8314) 2026-08-19 12:42:27 +02:00
bedrock-response-headers.test.ts fix(ai): bedrock response to include smithy headers (#8243) 2026-08-17 13:24:34 +02:00
bedrock-thinking-payload.test.ts feat(ai): support Claude Opus 5 on Bedrock (#7081) 2026-07-25 08:25:23 +02:00
bedrock-utils.ts feat(ai): Add Amazon Bedrock provider (#494) 2026-01-13 00:32:59 +01:00
cache-retention.test.ts feat(ai): add GPT-6 Astra support 2026-09-04 22:08:06 +02:00
cloudflare-ai-binding.test.ts Replace the AI Gateway binding shim with a plain binding fetch (#8287) 2026-09-03 11:11:19 +02:00
cloudflare-stream.test.ts feat(coding-agent): replace model registry with model runtime 2026-07-14 17:48:45 +02:00
cloudflare-utils.ts fix(ai): finalize cloudflare gateway provider support 2026-05-01 00:56:05 +02:00
codex-websocket-cached-probe.ts feat(coding-agent): replace model registry with model runtime 2026-07-14 17:48:45 +02:00
compat-env.test.ts feat(ai): complete models runtime migration 2026-06-23 15:29:46 +02:00
constrained-sampling.test.ts fix(ai): restore stream compatibility 2026-09-03 13:53:57 +02:00
context-estimate.test.ts fix(ai): ignore stale usage after compaction 2026-07-09 21:44:53 +02:00
context-overflow.test.ts fix(ai): update stale Gemini test model 2026-08-10 15:22:18 +02:00
cross-provider-handoff.test.ts feat(ai): add Qwen Token Plan Individual provider (#7659) 2026-08-06 17:18:02 +02:00
deferred-tools.test.ts fix(ai): remove retired GPT-5.4 Codex models 2026-09-10 14:25:55 +02:00
empty.test.ts feat(ai): add Qwen Token Plan Individual provider (#7659) 2026-08-06 17:18:02 +02:00
env-api-keys.test.ts fix(ai): support Anthropic bearer token env (#6148) 2026-07-24 15:13:22 +02:00
error-body.test.ts fix(ai): treat only plain objects as provider error bodies (#7205) 2026-07-31 09:38:54 +02:00
event-stream.test.ts fix(ai): optimize EventStream queue 2026-09-07 22:26:47 +02:00
faux-provider.test.ts feat(ai): expose pending stop reason while streaming (#7151) 2026-07-27 11:56:15 +02:00
fetch-option.test.ts feat(ai): add per-request fetch injection 2026-07-28 18:51:44 +02:00
fireworks-deferred-tools.test.ts feat(ai): enable Fireworks Messages deferred tool loading 2026-09-10 21:18:35 +02:00
fireworks-model-generation.test.ts fix(ai): preserve Fireworks thinking and native effort levels 2026-09-10 09:51:31 +02:00
fireworks-models.test.ts feat(ai): enable Fireworks Messages deferred tool loading 2026-09-10 21:18:35 +02:00
generate-models-strict.test.ts fix(ai): add Qwen3.8 Flash to individual token plan 2026-09-03 12:34:53 +02:00
github-copilot-anthropic.test.ts feat(ai): preserve Anthropic per-turn thinking effort 2026-09-02 21:39:29 +02:00
github-copilot-oauth.test.ts fix(ai): keep Copilot tests aligned with current model catalog 2026-09-04 11:15:20 +02:00
google-raw-stop-reason.test.ts Add pi user-agent to most api adapters (#8361) 2026-08-19 15:56:26 +02:00
google-shared-convert-tools.test.ts feat(ai): support constrained sampling (#6341) 2026-07-23 23:48:40 +02:00
google-shared-gemini3-unsigned-tool-call.test.ts fix(ai): preserve Gemini 3 tool call IDs (#7494) 2026-08-03 13:45:01 +02:00
google-shared-image-tool-result-routing.test.ts feat(ai): move API implementations to src/api with lazy wrappers (phase 2) 2026-06-10 20:08:59 +02:00
google-shared-retry.test.ts fix(ai): retry transient provider errors in Google adapters (#7471) 2026-08-03 12:45:45 +02:00
google-shared-signed-empty-blocks.test.ts fix(ai): keep signed empty text/thinking blocks in google history (#7362) 2026-07-31 10:30:38 +02:00
google-thinking-disable.test.ts fix(ai): revert selective pi-ai base entrypoints 2026-06-22 12:54:32 +02:00
google-thinking-level-map.test.ts fix(ai): honor Google thinking level maps 2026-08-17 13:10:55 +02:00
google-thinking-signature.test.ts feat(ai): move API implementations to src/api with lazy wrappers (phase 2) 2026-06-10 20:08:59 +02:00
google-vertex-api-key-resolution.test.ts Add pi user-agent to most api adapters (#8361) 2026-08-19 15:56:26 +02:00
image-model-data.test.ts fix(ai): validate generated model data before builds 2026-07-20 22:29:06 +02:00
image-tool-result.test.ts feat(ai): add Qwen Token Plan Individual provider (#7659) 2026-08-06 17:18:02 +02:00
images-models.test.ts feat(coding-agent): replace model registry with model runtime 2026-07-14 17:48:45 +02:00
images.test.ts chore: pin dependencies and use native TypeScript 2026-05-20 12:46:17 +02:00
interleaved-thinking.test.ts fix(ai): revert selective pi-ai base entrypoints 2026-06-22 12:54:32 +02:00
kimi-coding-oauth.test.ts fix(coding-agent): make model refresh cancellation caller-owned 2026-08-04 00:03:52 +02:00
lax-message-content.test.ts fix(ai,agent,coding-agent): normalize null message content at ingestion boundaries (#6343) 2026-07-06 20:47:08 +02:00
lazy-module-load.test.ts fix(ai): replace Mistral SDK with native transport 2026-08-08 09:32:49 +02:00
max-thinking.test.ts feat(ai): add GPT-6 Astra support 2026-09-04 22:08:06 +02:00
mistral-http-transport.test.ts fix(ai): merge indexed Mistral tool call chunks 2026-08-28 16:49:44 +02:00
mistral-raw-stop-reason.test.ts fix(ai): replace Mistral SDK with native transport 2026-08-08 09:32:49 +02:00
mistral-reasoning-mode.test.ts fix(ai): enable GLM-5.2 reasoning on Mistral 2026-09-10 14:31:58 +02:00
mistral-tool-schema.test.ts feat(ai): support constrained sampling (#6341) 2026-07-23 23:48:40 +02:00
model-catalog-types.test.ts fix(ai): route Copilot GPT models through Responses (#9253) 2026-09-07 13:01:50 +02:00
model-data-validation.test.ts feat(ai): add Qwen Token Plan Individual provider (#7659) 2026-08-06 17:18:02 +02:00
models-runtime.test.ts fix(ai): test composite OAuth refresh cancellation 2026-08-04 13:01:11 +02:00
node-http-proxy.test.ts fix(ai): match subdomains and root domains in NO_PROXY (#8737) 2026-09-01 11:38:31 +02:00
oauth-auth.test.ts fix(coding-agent): only label known subscriptions in footer 2026-08-06 07:47:35 +02:00
oauth-device-code.test.ts fix(coding-agent): make model refresh cancellation caller-owned 2026-08-04 00:03:52 +02:00
oauth.ts fix(coding-agent): make model refresh cancellation caller-owned 2026-08-04 00:03:52 +02:00
openai-codex-cache-affinity-e2e.test.ts fix(ai): revert selective pi-ai base entrypoints 2026-06-22 12:54:32 +02:00
openai-codex-oauth.test.ts fix(coding-agent): make model refresh cancellation caller-owned 2026-08-04 00:03:52 +02:00
openai-codex-stream.test.ts fix(ai): process unterminated Codex SSE terminal events 2026-09-03 11:26:39 +02:00
openai-completions-cache-control-format.test.ts feat(ai): preserve Anthropic per-turn thinking effort 2026-09-02 21:39:29 +02:00
openai-completions-empty-tools.test.ts fix(coding-agent): update repository links to "earendil-works/pi" (#9278) 2026-09-07 14:09:39 +02:00
openai-completions-prompt-cache.test.ts fix(ai): send OpenRouter session affinity headers by default 2026-09-10 10:37:44 +02:00
openai-completions-raw-stop-reason.test.ts fix(ai): preserve raw OpenAI completion stop reasons 2026-07-29 13:52:14 +02:00
openai-completions-reasoning-details.test.ts fix(ai): concatenate openai completions reasoning deltas (#8605) 2026-08-25 11:19:31 +02:00
openai-completions-response-model.test.ts fix(ai): revert selective pi-ai base entrypoints 2026-06-22 12:54:32 +02:00
openai-completions-retry.test.ts fix(ai): make provider retries abortable (#6980) 2026-07-23 12:25:37 +02:00
openai-completions-thinking-as-text.test.ts feat(ai): add vllmPriority compat flag for vLLM scheduler priority (#9004) 2026-09-02 14:20:07 +02:00
openai-completions-thinking-token-budget.test.ts feat(ai): generalize openai-completions thinking token budget fields (#8275) 2026-08-18 16:35:35 +02:00
openai-completions-tool-choice.test.ts Revert "fix(ai): update stale DeepSeek Flash test model IDs" 2026-09-11 15:08:41 +02:00
openai-completions-tool-result-images.test.ts feat(ai): add vllmPriority compat flag for vLLM scheduler priority (#9004) 2026-09-02 14:20:07 +02:00
openai-completions-vllm-priority.test.ts feat(ai): add vllmPriority compat flag for vLLM scheduler priority (#9004) 2026-09-02 14:20:07 +02:00
openai-responses-cache-affinity-e2e.test.ts fix(ai): revert selective pi-ai base entrypoints 2026-06-22 12:54:32 +02:00
openai-responses-compat.test.ts fix(ai): add supportsMaxOutputTokens compat flag for openai-responses (#8941) 2026-09-01 14:42:52 +02:00
openai-responses-empty-tool-result.test.ts fix(ai): use "(no tool output)" placeholder for empty tool results without images (#6290) 2026-07-06 21:42:56 +02:00
openai-responses-foreign-toolcall-id.test.ts feat(ai): compat entrypoint, core-only root barrel (phase 5) 2026-06-10 21:17:12 +02:00
openai-responses-message-id.test.ts feat(ai): compat entrypoint, core-only root barrel (phase 5) 2026-06-10 21:17:12 +02:00
openai-responses-namespace.test.ts feat: move service wire semantics into Chord 2026-09-01 00:53:40 +02:00
openai-responses-partial-json-cleanup.test.ts feat(ai): expose pending stop reason while streaming (#7151) 2026-07-27 11:56:15 +02:00
openai-responses-reasoning-replay-e2e.test.ts fix tests: use updated models 2026-07-24 18:52:56 +00:00
openai-responses-terminal-event.test.ts fix(coding-agent): resume after context-limited length stops (#7540) 2026-08-03 18:07:53 +02:00
openai-responses-tool-result-images.test.ts fix: remove redundant record guards 2026-07-05 18:55:09 +02:00
opencode-provider-headers.test.ts fix(ai): send OpenCode session header 2026-09-09 10:10:31 +02:00
openrouter-cache-control-models.test.ts feat(ai): preserve Anthropic per-turn thinking effort 2026-09-02 21:39:29 +02:00
openrouter-cache-write-repro.test.ts fix(ai): revert selective pi-ai base entrypoints 2026-06-22 12:54:32 +02:00
openrouter-images.test.ts fix(ai): revert selective pi-ai base entrypoints 2026-06-22 12:54:32 +02:00
openrouter-oauth.test.ts fix(coding-agent): make model refresh cancellation caller-owned 2026-08-04 00:03:52 +02:00
openrouter-reasoning-options.test.ts fix(ai): derive OpenRouter reasoning controls (#8614) 2026-08-25 12:11:21 +02:00
overflow.test.ts fix(coding-agent): resume after context-limited length stops (#7540) 2026-08-03 18:07:53 +02:00
pi-messages.test.ts feat(ai): preserve Anthropic per-turn thinking effort 2026-09-02 21:39:29 +02:00
pre-generation-error.test.ts fix(ai): restore stream compatibility 2026-09-03 13:53:57 +02:00
provider-error-body-passthrough.test.ts fix(ai): surface provider HTTP error body instead of opaque SDK message 2026-06-25 12:07:51 +02:00
provider-error-body-regression.test.ts feat(ai): support Claude Opus 5 on Bedrock (#7081) 2026-07-25 08:25:23 +02:00
provider-retry.test.ts fix(ai): make provider retries abortable (#6980) 2026-07-23 12:25:37 +02:00
providers.test.ts fix(ai): separate deferred request options 2026-08-04 12:45:00 +02:00
qwen-token-plan-models.test.ts fix(ai): add Qwen3.8 Flash to individual token plan 2026-09-03 12:34:53 +02:00
radius-oauth.test.ts fix(coding-agent): make model refresh cancellation caller-owned 2026-08-04 00:03:52 +02:00
reasoning-options.test.ts generate-models: use reasoning options from models.dev (#6928) 2026-07-22 08:33:34 +02:00
responseid.test.ts fix(ai): revert selective pi-ai base entrypoints 2026-06-22 12:54:32 +02:00
retry.test.ts fix: cap agent retry backoff 2026-09-09 11:54:56 +02:00
sampling-options.test.ts Add support for generic sampling parameters (#7568) 2026-08-04 00:05:29 +02:00
scratch.ts feat(coding-agent): replace model registry with model runtime 2026-07-14 17:48:45 +02:00
stream.test.ts Revert "fix(ai): update stale DeepSeek Flash test model IDs" 2026-09-11 15:08:41 +02:00
supports-xhigh.test.ts Revert "fix(ai): update stale DeepSeek Flash test model IDs" 2026-09-11 15:08:41 +02:00
telemetry-options.test.ts feat: extract telemetry package 2026-08-05 23:23:12 +02:00
text.test.ts feat(ai): add shared contentText utility (#6840) 2026-07-20 01:50:36 +02:00
together-models.test.ts generate-models: use reasoning options from models.dev (#6928) 2026-07-22 08:33:34 +02:00
tokens.test.ts feat(ai): add Qwen Token Plan Individual provider (#7659) 2026-08-06 17:18:02 +02:00
tool-call-id-normalization.test.ts fix(coding-agent): update repository links to "earendil-works/pi" (#9278) 2026-09-07 14:09:39 +02:00
tool-call-without-result.test.ts feat(ai): add Qwen Token Plan Individual provider (#7659) 2026-08-06 17:18:02 +02:00
total-tokens.test.ts fix(ai): update stale Gemini test model 2026-08-10 15:22:18 +02:00
transform-messages-copilot-openai-to-anthropic.test.ts feat(ai): move API implementations to src/api with lazy wrappers (phase 2) 2026-06-10 20:08:59 +02:00
unicode-surrogate.test.ts feat(ai): add Qwen Token Plan Individual provider (#7659) 2026-08-06 17:18:02 +02:00
uuid.test.ts feat(ai): support UUIDv7 follower timestamps 2026-08-12 11:11:30 +03:00
validation.test.ts feat(ai): add strict tool schema conversion 2026-08-11 12:06:33 +02:00
xai-oauth.test.ts fix(coding-agent): make model refresh cancellation caller-owned 2026-08-04 00:03:52 +02:00
xai-responses.test.ts fix(ai): remove Grok Build 0.1 from built-in xAI model catalog (#9093) 2026-09-04 10:18:26 +02:00
xhigh.test.ts fix tests: use updated models 2026-07-24 18:52:56 +00:00
xiaomi-models.test.ts fix(ai,coding-agent): remove deprecated Xiaomi models 2026-08-17 14:43:48 +02:00
xiaomi-token-plan-ams-anthropic-empty-signature-smoke.test.ts fix(ai): revert selective pi-ai base entrypoints 2026-06-22 12:54:32 +02:00
zai-coding-plan-models.test.ts fix(ai): keep cloudflare ai gateway workers-ai models when models.dev drops them 2026-08-25 16:52:29 +02:00
zen.test.ts fix(ai): revert selective pi-ai base entrypoints 2026-06-22 12:54:32 +02:00