omi icon indicating copy to clipboard operation
omi copied to clipboard

feat req: make custom summary available over API /MCP and AI chat

Open hugoaap-code opened this issue 6 months ago • 3 comments

Users can generate their own summaries, adding context to the prompt thus getting precise summaries (I did that).

But that super precise summaries aren't available over API MCP and AI chat. We see only the standard summary Omi generates, that doesn't consider my custom summary.

Users would benefit more if could reach their custom summaries as well on aí chat or API.

hugoaap-code avatar May 24 '26 12:05 hugoaap-code

@hugoaap-code Hey, took a look at this before sending a PR. Want to make sure I'm fixing the right thing.

There are actually two different ways to "add a custom prompt" in the code, and they behave differently. One is the test-prompt endpoint, which just runs your prompt and returns the result without saving it anywhere, so nothing for API/MCP/chat to read later. The other is an app with a custom prompt, whose output gets saved as apps_results on the conversation. Those are already picked up by the AI chat agent via conversations_to_string() and returned by GET /v1/conversations/{id}, but the MCP endpoints use their own response models that don't declare apps_results, so it gets silently stripped from MCP responses.

From what I can see, MCP looks like the only path that's actually missing custom summaries today, but I'd like to confirm with you before I change anything.

Which path are you using, and where are you seeing the standard-only behavior, REST, MCP, in-app chat, or all of them? An example would help a lot. Once I know, I'll send a PR.

narumichi0710 avatar May 31 '26 08:05 narumichi0710

Hi! I'm Dhruv, a CS student participating in CodePath's Advanced AI Open-Source Capstone (AI301). I'd like to work on this issue, exposing custom summaries through the API, MCP, and AI chat. I'll start by exploring the codebase to find where summaries are returned and figure out how to include custom ones. Looking forward to any feedback!

Dhruvizzle101 avatar Jul 12 '26 17:07 Dhruvizzle101

go ahead do it

Best regards,

Hugo Azevedo

On Sun, Jul 12, 2026, 14:47 Dhruv Kothari @.***> wrote:

Dhruvizzle101 left a comment (BasedHardware/omi#7478) https://github.com/BasedHardware/omi/issues/7478#issuecomment-4952155353

Hi! I'm Dhruv, a CS student participating in CodePath's Advanced AI Open-Source Capstone (AI301). I'd like to work on this issue, exposing custom summaries through the API, MCP, and AI chat. I'll start by exploring the codebase to find where summaries are returned and figure out how to include custom ones. Looking forward to any feedback!

— Reply to this email directly, view it on GitHub https://github.com/BasedHardware/omi/issues/7478?email_source=notifications&email_token=BXYGVSIQ6QKMO3PXAQA4H2D5EPFKBA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIOJVGIYTKNJTGUZ2M4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJLDGN5XXIZLSL5RWY2LDNM#issuecomment-4952155353, or unsubscribe https://github.com/notifications/unsubscribe-auth/BXYGVSMA2QBFZFQT743ARID5EPFKDAVCNFSNUABFKJSXA33TNF2G64TZHM3TONRRGIYTAMZUHNEXG43VMU5TINJRGE3DKOBUG43KC5QC . You are receiving this because you were mentioned.Message ID: @.***>

hugoaap-code avatar Jul 12 '26 17:07 hugoaap-code