Overview
| Comment: | Add the model registry: provider/model names, Pi compat, models.json
Built-in providers carry the base URL, wire API and key variable Pi uses for them; OpenAI-compatible dialects are detected from provider and base URL as Pi does; ~/.pic/models.json, or an existing Pi models file, adds providers such as a local server and overrides any field. |
|---|---|
| Timelines: | family | ancestors | descendants | both | stage-4 |
| Files: | files | file ages | folders |
| SHA3-256: |
42a80c44fde4c56224968c456738b7d3 |
| User & Date: | dmestas on 2026-11-19 00:24:34.569 |
| Other Links: | branch diff | manifest | tags |
Context
|
2026-11-19
| ||
| 00:38 |
Journal every reply in two forms and convert across models
Assistant entries keep the provider content verbatim with its origin (provider, api, model) and Pi neutral form; tool calls come from the neutral form, the same for every provider. A turn goes back verbatim to the model that wrote it and is otherwise rebuilt from the neutral form, without thinking and with tool-call ids normalised identically in calls and results. --model resolves through the registry, keys come from the model, and schema 3 journals migrate in place on open. check-in: 3ff8346a3f user: dmestas tags: stage-4 | |
| 00:24 |
Add the model registry: provider/model names, Pi compat, models.json
Built-in providers carry the base URL, wire API and key variable Pi uses for them; OpenAI-compatible dialects are detected from provider and base URL as Pi does; ~/.pic/models.json, or an existing Pi models file, adds providers such as a local server and overrides any field. check-in: 42a80c44fd user: dmestas tags: stage-4 | |
| 00:23 | Bring CI and its test fixes into stage 4 check-in: f40e74ccdb user: dmestas tags: stage-4 | |