Overview
| Comment: | A stored key or sign-in now takes precedence over the provider's environment variable, as in Pi
pic_cred_get and pic_cred_source_of resolve a stored credential first, then the models.json apiKey, then the variable. auth status and the /login list name the source in use and any variable it hides. |
|---|---|
| Timelines: | family | ancestors | descendants | both | cred-order |
| Files: | files | file ages | folders |
| SHA3-256: |
19ef27d450e948664870684a18bc4e8f |
| User & Date: | pi-c-agent on 2026-11-22 15:41:12.988 |
| Other Links: | branch diff | manifest | tags |
Context
|
2026-11-22
| ||
| 15:48 | Update the credential unit tests to Pi's order: the store beats the environment check-in: 869d6766d1 user: pi-c-agent tags: cred-order | |
| 15:41 |
A stored key or sign-in now takes precedence over the provider's environment variable, as in Pi
pic_cred_get and pic_cred_source_of resolve a stored credential first, then the models.json apiKey, then the variable. auth status and the /login list name the source in use and any variable it hides. check-in: 19ef27d450 user: pi-c-agent tags: cred-order | |
| 14:39 |
land oauth-login
via mac, quarry check-in: c9fca5659c user: dmestas tags: trunk | |
Changes
Modified CHANGELOG.md
from [1fac87120b]
to [a0826182a8].
[diff]
Modified docs/manual/credentials.md
from [ef2a2f8397]
to [7fd3c16140].
[diff]
Modified docs/manual/sign-in.md
from [cf36e871d1]
to [58eeee5c19].
[diff]
Modified docs/reference/cli.md
from [8f1997e970]
to [28daab429d].
[diff]
Modified docs/reference/env.md
from [9a0b6f6348]
to [a957fd1907].
[diff]
Modified src/cred.c
from [1f43be587d]
to [2418f9deb3].
[diff]
Modified src/cred.h
from [44d293ab80]
to [9f7ae6486e].
[diff]
Modified src/main.c
from [d53d65a92f]
to [ec94b2b25b].
[diff]
Modified src/models.c
from [6df5cfdc98]
to [acc9ea2b90].
[diff]
Modified src/models.h
from [e8a37e78a4]
to [a84fd0687c].
[diff]
Modified src/tui/app.c
from [5fe1ba58e7]
to [c33074faca].
[diff]
Modified test/pic/creds.sh
from [59be955255]
to [0b30f1b6a0].
[diff]
Modified test/pic/oauth.sh
from [9efb3db211]
to [595d8b22da].
[diff]