-
Notifications
You must be signed in to change notification settings - Fork 84
Add a model_version field to all AI responses #272
Copy link
Copy link
Closed
Labels
GrantFox OSSIssue tracked in GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26Campaign: Official Campaign | FWC26area:ai-serviceAI service (FastAPI) areaAI service (FastAPI) areakind:refactorRefactor / cleanupRefactor / cleanup
Description
Activity
Metadata
Metadata
Assignees
Labels
GrantFox OSSIssue tracked in GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26Campaign: Official Campaign | FWC26area:ai-serviceAI service (FastAPI) areaAI service (FastAPI) areakind:refactorRefactor / cleanupRefactor / cleanup
Problem Statement. Output schema (
schemas/humanitarian.py,schemas/anonymization.py,schemas/ocr.py) doesn't return the model version. A consumer can't tell if they got theold gpt-4o-mini or a future gpt-5o.
Technical Context.
app/ai-service/schemas/*.Expected Outcome. Every response includes
model_version, sourced fromsettings.openai_modelorsettings.groq_model. The provider name is already emitted;this normalises the model disclosure.
Acceptance Criteria.
Files or modules likely to be affected.
app/ai-service/schemas/*.Difficulty. Easy
Estimated effort. S
Backlog item #64 from `docs/maintainer-issue-backlog.md.