feat(ingest): Use orchestrator-provided INGEST_MODEL for log attribution
This commit is contained in:
parent
76700cd2a6
commit
39775398f7
1 changed files with 3 additions and 1 deletions
|
|
@ -27,7 +27,9 @@ command -v python3 >/dev/null 2>&1 || fail "deps" "python3 missing (needed by in
|
|||
|
||||
# --- read manifest scalars ---
|
||||
raw_source="$(jq -r '.raw_source' "$manifest")"
|
||||
model="$(jq -r '.model // "unknown"' "$manifest")"
|
||||
# model name comes from the orchestrator/wrapper (INGEST_MODEL); the agent cannot know its
|
||||
# own tag, so we do not trust a self-reported manifest field. Fall back only if unset.
|
||||
model="${INGEST_MODEL:-$(jq -r '.model // "unknown"' "$manifest")}"
|
||||
reasoning="$(jq -r '.reasoning // "Ingest."' "$manifest")"
|
||||
pr_summary="$(jq -r '.pr_summary // "Ingest."' "$manifest")"
|
||||
contradictions="$(jq -r '.contradictions // "None"' "$manifest")"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue