@ouro.bot/cli 0.1.0-alpha.194 → 0.1.0-alpha.195
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.json +6 -0
- package/dist/senses/pipeline.js +2 -2
- package/package.json +1 -1
package/changelog.json
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_note": "This changelog is maintained as part of the PR/version-bump workflow. Agent-curated, not auto-generated. Agents read this file directly via read_file to understand what changed between versions.",
|
|
3
3
|
"versions": [
|
|
4
|
+
{
|
|
5
|
+
"version": "0.1.0-alpha.195",
|
|
6
|
+
"changes": [
|
|
7
|
+
"fix: failover error message reads model from agent.json instead of stale secrets"
|
|
8
|
+
]
|
|
9
|
+
},
|
|
4
10
|
{
|
|
5
11
|
"version": "0.1.0-alpha.194",
|
|
6
12
|
"changes": [
|
package/dist/senses/pipeline.js
CHANGED
|
@@ -555,8 +555,8 @@ async function handleInboundTurn(input) {
|
|
|
555
555
|
if (typeof model === "string" && model)
|
|
556
556
|
providerModels[p] = model;
|
|
557
557
|
}
|
|
558
|
-
|
|
559
|
-
const currentModel =
|
|
558
|
+
// Use agent.json model (source of truth), not secrets model (may be stale)
|
|
559
|
+
const currentModel = agentConfig.humanFacing.model;
|
|
560
560
|
const failoverContext = (0, provider_failover_1.buildFailoverContext)(
|
|
561
561
|
/* v8 ignore next -- defensive: error always set when errored @preserve */
|
|
562
562
|
result.error?.message ?? "unknown error", classification, currentProvider, currentModel, agentName, inventory, providerModels);
|