Repository navigation
fix(hume-ai): post emotion memories to the served v2 integration route - #14499
tluangtea-lab wants to merge 1 commit into
Conversation
|
Verified end to end — this is a clean, well-evidenced fix for #14340. Thank you for the quality of the report and the regression guard. Per-file notes:
The live evidence in the issue (404 on the v1 path vs. an auth challenge on the v2 path) matches the code, and the sibling notification path in this plugin already used a served v2 route, so this brings the last caller in line. Nothing blocking from my side — leaving formal approval and merge to a human maintainer. by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with |
58d3ac1 to
b034f65
Compare
create_omi_memory() posted to /v1/integrations/{app_id}/memories, a
route the backend does not register, so every emotion-memory creation
failed with 404 {"detail":"Not Found"} and the create-memory-from-
detected-emotion path was dead in production (issue BasedHardware#14340).
Point the URL at POST /v2/integrations/{app_id}/user/memories, the
user-import route the backend serves; the payload the plugin already
sends (text/timestamp/emotions) matches that route's model, so only
the path changes.
Verification:
- python3 plugins/test_hume_omi_memory_route.py -> 3 checks passed
(real create_omi_memory driven through a capturing fake httpx
client; hume SDK stubbed; no network, no keys)
- same suite against unpatched app.py fails at the route assertion,
reporting the dead /v1/integrations/{app_id}/memories URL
- registered plugin-hume-ai-omi-memory-route-tests in
.github/checks-manifest.yaml (local + ci lanes)
Failure-Class: new
b034f65 to
1771c49
Compare
kodjima33
left a comment
There was a problem hiding this comment.
5/5 hume-ai integration route fix with test; DIRTY -- approve only.
|
Superseded by #14342. |
|
Hey @tluangtea-lab 👋 Thank you so much for taking the time to contribute to Omi! We truly appreciate you putting in the effort to submit this pull request. After careful review, we've decided not to merge this particular PR. Please don't take this personally — we genuinely try to merge as many contributions as possible, but sometimes we have to make tough calls based on:
Before your next PR, please skim:
If this was declined for direction or taste, maintainers should cite an invariant ID or open a proposed one — ask if that citation is missing. Your contribution is still valuable to us, and we'd love to see you contribute again in the future! If you'd like feedback on how to improve this PR or want to discuss alternative approaches, please don't hesitate to reach out. Thank you for being part of the Omi community! |
Fixes #14340.
create_omi_memory()posted to/v1/integrations/{app_id}/memories, a route the backend does not register, so every emotion-memory creation failed with404 {"detail":"Not Found"}.The fix
Point the URL at
POST /v2/integrations/{app_id}/user/memories. Only the path changes.Verification
python3 plugins/test_hume_omi_memory_route.py— 3 checks passed.plugin-hume-ai-omi-memory-route-testsin.github/checks-manifest.yaml.Failure-Class: new