pi-mono/packages/ai/src
David Brailovsky 3bc6eebacf fix(ai): hold Anthropic system updates past dropped assistant messages
A mid-conversation system message was placed before checking whether the
next assistant message converts to any blocks. When it did not (empty text,
or another model's reasoning-only reply), the update landed before a user
message and Claude rejected the request with a 400.

closes #11091
2026-10-22 12:43:42 +02:00
..
api fix(ai): hold Anthropic system updates past dropped assistant messages 2026-10-22 12:43:42 +02:00
auth fix(ai): fall back to a free port for Anthropic OAuth callback 2026-10-07 07:47:22 +00:00
compat feat(coding-agent): replace model registry with model runtime 2026-07-14 17:48:45 +02:00
providers feat(ai,coding-agent): image input for System One classifiers 2026-10-21 23:53:47 +02:00
utils fix(ai): use OpenRouter-reported total cost (#10286) 2026-10-22 11:01:39 +02:00
bedrock-provider.ts fix(ai): revert selective pi-ai base entrypoints 2026-06-22 12:54:32 +02:00
bun-oauth.ts feat(ai,coding-agent): add alternative sign in for the openai provider 2026-09-29 17:16:15 +02:00
cli.ts feat(ai,coding-agent): add alternative sign in for the openai provider 2026-09-29 17:16:15 +02:00
compat.ts Mid conversation system messages (#9548) 2026-09-16 15:54:07 +02:00
env-api-keys.ts feat(ai): support Azure Foundry Chat Completions deployments (#9714) 2026-10-05 09:46:48 +02:00
image-models.ts feat(ai,coding-agent): unify image and classifier model infrastructure (#9948) 2026-09-23 17:41:19 +02:00
images-api-registry.ts feat(ai,coding-agent): unify image and classifier model infrastructure (#9948) 2026-09-23 17:41:19 +02:00
images.ts feat(ai,coding-agent): unify image and classifier model infrastructure (#9948) 2026-09-23 17:41:19 +02:00
index.ts feat(ai,agent,coding-agent): move client identity and provider attribution into pi-ai 2026-10-21 11:17:02 +00:00
legacy-api-aliases.ts fix(ai): restore legacy compat stream aliases 2026-06-23 22:20:20 +02:00
model-catalog.ts feat(ai,coding-agent): unify image and classifier model infrastructure (#9948) 2026-09-23 17:41:19 +02:00
models-store.ts feat(ai,coding-agent): unify image and classifier model infrastructure (#9948) 2026-09-23 17:41:19 +02:00
models.generated.ts feat(ai): support Azure Foundry Chat Completions deployments (#9714) 2026-10-05 09:46:48 +02:00
models.ts feat(ai): add totalFromProvider flag to usage cost (#11178) 2026-10-22 09:02:01 +02:00
oauth.ts feat(coding-agent): replace model registry with model runtime 2026-07-14 17:48:45 +02:00
session-resources.ts fix(coding-agent): decouple codex session cleanup 2026-05-04 00:45:56 +02:00
telemetry.ts feat: Durable and pi-ai telemetry; Context.telemetry is always a span 2026-10-19 06:26:02 +00:00
types.ts fix(ai): use OpenRouter-reported total cost (#10286) 2026-10-22 11:01:39 +02:00