Armin Ronacher
a328aa89ad
feat(ai,coding-agent): unify image and classifier model infrastructure ( #9948 )
2026-09-23 17:41:19 +02:00
David Brailovsky
002fc83852
feat: expose provider stream events to extensions ( #9901 )
...
Add onProviderStreamEvent through pi-ai and agent core, and surface
provider_stream_event to coding-agent extensions.
Closes #9784
2026-09-23 16:03:30 +02:00
Christian Klotz
25cc5c7bf4
docs(coding-agent): refresh documentation ( #9898 )
...
* docs(coding-agent): improve getting started documentation
* docs(coding-agent): correct getting started details
* docs(coding-agent): clarify SDK entry point
* docs(coding-agent): restructure guides and references
* docs(coding-agent): improve getting started guides
* docs(coding-agent): refresh integration guides
* docs(coding-agent): improve terminal and CLI guides
* docs(coding-agent): refresh customisation guides
* docs(coding-agent): clarify project trust terminology
* docs(coding-agent): simplify customisation guidance
* docs(coding-agent): improve runtime and reference guidance
* Fix settings reference
* feat(coding-agent): add Crowdin documentation sync
* docs(coding-agent): separate CLI and slash command references
* docs(coding-agent): correct compaction reference
* docs(coding-agent): streamline package documentation
* docs(coding-agent): split RPC reference documentation
* Update configuration docs
* Shorten config docs
* docs(coding-agent): refine configuration references
* docs(coding-agent): streamline settings reference
* docs(coding-agent): clarify configuration reference
* docs(coding-agent): clarify project trust exception
* docs(coding-agent): simplify keybindings reference
* docs(coding-agent): remove Crowdin integration
* docs(coding-agent): turn themes reference into guide
* docs(coding-agent): consolidate model and authentication docs
* docs(tui): require Component.invalidate() (fixes #9358 )
* docs(coding-agent): document offline catalog behavior (fixes #8684 )
* docs(coding-agent): preserve established documentation routes
* docs(coding-agent): reorganize documentation navigation
* docs(coding-agent): correct audited behavior
Clarify provider, session, local-model, Termux, TUI, SDK, debug, and extension behavior. Simplify the documentation audit to report only clear user-visible contradictions.
* docs(coding-agent): fix broken documentation links
2026-09-22 16:48:19 +02:00
Armin Ronacher
c596d09d9c
feat(coding-agent): add prompt cache warming ( #9668 )
2026-09-19 21:18:15 +02:00
Armin Ronacher
9e05370b29
Mid conversation system messages ( #9548 )
...
This change makes system prompt text and tool changes part of the transcript rather than silently rewriting its starting conditions. This lets Pi record when instructions changed or tools became available, restore that state after resuming or navigating branches, and preserve cached prompt prefixes where the upstream supports it.
2026-09-16 15:54:07 +02:00
Ramiz Wachtler
aa23e784c6
fix(coding-agent): update repository links to "earendil-works/pi" ( #9278 )
...
- update repository links in prompts, docs, and code to use `earendil-works/pi` instead of `earendil-works/pi-mono`
2026-09-07 14:09:39 +02:00
Cristina Poncela Cubeiro
1bb61986cd
docs(coding-agent): update provider links to api
2026-08-25 13:31:42 +02:00
Ben
b237412699
feat(ai): generalize openai-completions thinking token budget fields ( #8275 )
...
#7638 hardcoded vLLM's thinking_token_budget. Map thinkingBudgets through
thinkingTokenBudgetField, keep the boolean as a vLLM alias, clamp so the
answer keeps 1024 tokens, and document it.
fixes #8274
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Mario Zechner <badlogicgames@gmail.com>
2026-08-18 16:35:35 +02:00
Mario Zechner
9dd90a4971
fix(ai): replace Mistral SDK with native transport
2026-08-08 09:32:49 +02:00
Mario Zechner
fed6009cc9
fix(coding-agent): make model refresh cancellation caller-owned
...
Add generation-safe catalog publication, cancellable auth and storage operations, locally consistent credential mutations, and cache-first interactive model flows.
2026-08-04 00:03:52 +02:00
David Brailovsky
c1019d9202
feat(ai): add Baseten provider
...
Closes #7405
2026-08-03 14:33:21 +02:00
Mario Zechner
2c30412420
fix(ai): support streams without finish reasons
2026-07-30 22:23:46 +02:00
Lucas Meijer
f9a49869c2
feat(ai): expose pending stop reason while streaming ( #7151 )
...
* feat(ai): expose pending streaming stop reason
Closes #7142
* manual tidy up of human facing copy
2026-07-27 11:56:15 +02:00
Armin Ronacher
24bace27cf
feat(ai): support constrained sampling ( #6341 )
...
Add the constrained sampling API and provider plumbing for OpenAI and Anthropic tool calls, including grammar sampling variants and model capability metadata.
2026-07-23 23:48:40 +02:00
Mario Zechner
6f95a33888
fix(ai): enable cache control for OpenRouter aliases
...
closes #6940
2026-07-22 11:46:21 +02:00
Mario Zechner
019e4ad687
feat(coding-agent): accept native extension providers
...
Allow extensions to register complete pi-ai Provider objects while preserving models.json composition and resolved provider auth access.
Refs #4823 and #4824 .
2026-07-17 10:58:48 +02:00
Mario Zechner
cd7cad4ee2
feat(coding-agent): merge origin/main into model runtime facade
2026-07-15 12:25:36 +02:00
Mario Zechner
9993c96907
feat(coding-agent): replace model registry with model runtime
...
Move provider auth and OAuth flows onto pi-ai Models, compose models.json and extension overlays through ModelRuntime, and retain ModelRegistry as an extension compatibility facade.
2026-07-14 17:48:45 +02:00
Petr Houška
298665cfb9
fix(ai): support OpenRouter session affinity ( #6496 )
...
Fixes #6366
2026-07-13 09:57:53 +02:00
Mario Zechner
fbdd46389c
feat(ai): add max thinking level
2026-07-09 22:30:53 +02:00
Armin Ronacher
8b97e75c6b
feat(ai): add chat-template thinking compat
...
CI / build-check-test (push) Waiting to run
closes #5673
2026-06-19 23:34:17 +02:00
Mario Zechner
458a7bc27c
Fix Anthropic empty thinking signature replay
...
closes #4464
2026-05-28 12:04:33 +02:00
Armin Ronacher
3e9f717445
fix(coding-agent): make config env references explicit
...
closes #5095
2026-05-28 11:58:38 +02:00
Mario Zechner
d801d88a11
Support adaptive thinking for Anthropic-compatible aliases
...
closes #4790
2026-05-22 18:30:51 +02:00
Mario Zechner
c841a6c78f
Clean up OAuth device-code callbacks
2026-05-22 15:51:36 +02:00
Aliou Diallo
b9ae2590f5
docs(coding-agent): document overflow normalization for custom providers
...
Adds a Context Overflow Errors subsection to custom-provider.md showing how a custom provider extension can rewrite unrecognized overflow errors via a message_end handler so pi's native compact-and-retry path triggers. Includes guard rails for provider scoping, idempotency, and avoiding rate-limit phrases.
2026-05-16 01:50:12 +02:00
Mario Zechner
7adb8e7634
feat(ai): add Together AI provider
2026-05-08 16:44:18 +02:00
Mario Zechner
3e5ad67e0f
chore: migrate pi packages to earendil works scope
2026-05-07 15:59:42 +02:00
Mario Zechner
80f06d3636
feat: add model thinking level metadata
...
closes #3208
2026-05-02 01:21:06 +02:00
Mario Zechner
ddb8ed0c73
fix(coding-agent): honor registered model base urls
...
closes #4063
2026-05-01 22:19:06 +02:00
Mario Zechner
8db0d28389
chore(coding-agent): remove Qwen CLI extension example
2026-05-01 01:01:54 +02:00
Mario Zechner
fe66edd943
remove gemini cli and antigravity support
2026-04-30 21:24:36 +02:00
Mario Zechner
cf5ec23240
feat(coding-agent): add provider display names
...
closes #3956
2026-04-30 00:10:38 +02:00
Mario Zechner
1e33492525
fix(coding-agent): harden clipboard copy
...
closes #3639
2026-04-24 12:55:58 +02:00
Mario Zechner
ed89480f20
docs(coding-agent): document async extension factories closes #3469
2026-04-20 22:02:03 +02:00
Mario Zechner
3054fd7a3b
fix(ai,coding-agent): support anthropic-style cache control for openai compatibles closes #3392
2026-04-20 17:12:05 +02:00
Mario Zechner
03ad7ecee7
fix(ai): add qwen-chat-template compat mode closes #2020
2026-03-14 05:20:27 +01:00
Abdeslam Yassine Agmar
eb9f1183ad
refactor(ai): migrate mistral provider to conversations sdk
2026-03-03 17:25:50 +00:00
Mario Zechner
7b96041068
fix(ai): map groq qwen3 reasoning effort values closes #1745
2026-03-03 16:44:42 +01:00
Mario Zechner
2f55890452
fix(coding-agent,ai): finalize provider unregister lifecycle and dependency security updates fixes #1669
2026-02-27 21:00:25 +01:00
Mario Zechner
f405018d51
docs(coding-agent): add custom provider example references
2026-02-09 00:02:47 +01:00
Mario Zechner
7d632ba1c3
chore: update changelog and docs for qwen extension
2026-02-01 01:52:53 +01:00
Mario Zechner
d4bd1a956b
docs: rewrite custom-provider.md with actual stream pattern
...
- Document stream.push/end pattern instead of yield
- Link to existing provider implementations on GitHub
- Add testing section with list of test files to run
- Include proper content block and tool call examples
2026-01-24 23:18:36 +01:00
Mario Zechner
177c694406
feat: custom provider support with streamSimple
...
- Add resetApiProviders() to clear and re-register built-in providers
- Add createAssistantMessageEventStream() factory for extensions
- Add streamSimple support in ProviderConfig for custom API implementations
- Call resetApiProviders() on /reload to clean up extension providers
- Add custom-provider.md documentation
- Add custom-provider.ts example with full Anthropic implementation
- Update extensions.md with streamSimple config option
2026-01-24 23:15:11 +01:00