Skip to content

fix(python): community fixes for the openai, cartesia and pipecat wrappers - #1799

Merged
graphite-app[bot] merged 1 commit into
mainfrom
mtd/python-community-fixes
Oct 14, 2026
Merged

graphite-app[bot] merged 1 commit into
mainfrom
mtd/python-community-fixes

Conversation

@MaheshtheDev

@MaheshtheDev MaheshtheDev commented Oct 12, 2026 •

Copy link
Copy Markdown
Member

Bundles 10 community fixes for the Python wrappers, each commit kept with its original author. Ships supermemory-openai-sdk 1.0.10, supermemory-cartesia 0.1.5 and supermemory-pipecat 0.1.5.

Co-Authored-By: abhinav7x94 204053250+abhinav7x94@users.noreply.github.com
Co-Authored-By: shamAnimates 145093437+shamAnimates@users.noreply.github.com
Co-Authored-By: aloktripathi1 142301030+aloktripathi1@users.noreply.github.com
Co-Authored-By: Cintu07 178455858+Cintu07@users.noreply.github.com
Co-Authored-By: Atharvsinh-codez 201381760+Atharvsinh-codez@users.noreply.github.com
Co-Authored-By: abhay-codes07 182421137+abhay-codes07@users.noreply.github.com
Co-Authored-By: nkootstra 545768+nkootstra@users.noreply.github.com
Co-Authored-By: Agnik47 140933190+Agnik47@users.noreply.github.com

@mintlify

mintlify Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
supermemory 🟢 Ready View Preview Oct 14, 2026, 9:09 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@MaheshtheDev MaheshtheDev changed the title fix(openai-sdk-python): isolate middleware clients (#1503) fix(python): community fixes for the openai, cartesia and pipecat wrappers Oct 12, 2026

Copy link
Copy Markdown
Member Author

How to use the Graphite Merge Queue

Add the label Main to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
supermemory-mcp 5323f42 Oct 14 2026, 09:09 PM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
supermemory-app 5323f42 Commit Preview URL

Branch Preview URL
Oct 14 2026, 09:10 PM

@polylane polylane Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested observability improvements for code this pull request changes. They are advisory and never affect the production-impact verdict.

To apply several suggestions in one commit, open Files changed and select Add suggestion to batch.

Comment thread packages/cartesia-sdk-python/src/supermemory_cartesia/agent.py
@polylane

polylane Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Polylane has not reviewed the latest changes on this pull request.

View in Polylane Disable reviews

Polylane did not analyse 5323f42 for production impact. See the review history in Polylane.

Previous verdicts (4)
Head Verdict Analysis
a1a0ea6 Production impact unlikely analysis
b5ae2c7 Production impact unlikely analysis
111bedb Production impact unlikely analysis
20afa0a Production impact unlikely analysis

@socket-security

socket-security Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedpypi/​supermemory@​3.62.0100100100100100

View full report

@polylane polylane Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested observability improvements for code this pull request changes. They are advisory and never affect the production-impact verdict.

To apply several suggestions in one commit, open Files changed and select Add suggestion to batch.

Comment thread packages/cartesia-sdk-python/src/supermemory_cartesia/agent.py Outdated

@capy-ai capy-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-reviewed the bounded fix delta. The official sync and async chat.completions.stream helpers now retain memory injection, sync persistence, native stream manager/response closing, and shared-client tenant isolation in real-SDK mock-transport tests. Fresh wheel/sdist checks and declared Supermemory <5 dependency resolution pass.

@capy-ai capy-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the follow-up delta from the tested 111bedb head: only the Cartesia guarded-error log text changes; OpenAI/Pipecat source and dependency fixes are unchanged. Native Cartesia tests and the changed guard/output check pass. Renewing approval for this exact head.

@polylane polylane Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested observability improvements for code this pull request changes. They are advisory and never affect the production-impact verdict.

To apply several suggestions in one commit, open Files changed and select Add suggestion to batch.

Comment thread packages/cartesia-sdk-python/src/supermemory_cartesia/agent.py

@capy-ai capy-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the final comment/docstring cleanup delta. Executable ASTs match the approved parent across all 14 changed Python files; tests and dependency metadata are unchanged in behavior. Positive real-SDK sync/async stream, tenant-isolation and native export controls pass on this exact source.

@graphite-app

graphite-app Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Merge activity

…ppers (#1799)

Bundles 10 community fixes for the Python wrappers, each commit kept with its original author. Ships supermemory-openai-sdk 1.0.10, supermemory-cartesia 0.1.5 and supermemory-pipecat 0.1.5.

- openai-sdk-python: shared OpenAI clients no longer leak memories across tenants (#1503), memory search fails open instead of crashing the chat (#1288), the requests fallback runs off the event loop (#1660), get_profile works for users with no memories (#1759).
- cartesia: the wrapped agent runs exactly once per event (#1280, #1670), plain-string and chunk-only search results are kept (#1683, #1693).
- pipecat: memory text stays literal when replacing the injected block (#1647), `InputParams` is exported from the package root (#1575).
- #1503 was hand-ported onto main's newer middleware. #1751 is left out: the v5 agent-framework migration (#1786) appends to the conversation document by design.

Co-Authored-By: abhinav7x94 <204053250+abhinav7x94@users.noreply.github.com>
Co-Authored-By: shamAnimates <145093437+shamAnimates@users.noreply.github.com>
Co-Authored-By: aloktripathi1 <142301030+aloktripathi1@users.noreply.github.com>
Co-Authored-By: Cintu07 <178455858+Cintu07@users.noreply.github.com>
Co-Authored-By: Atharvsinh-codez <201381760+Atharvsinh-codez@users.noreply.github.com>
Co-Authored-By: abhay-codes07 <182421137+abhay-codes07@users.noreply.github.com>
Co-Authored-By: nkootstra <545768+nkootstra@users.noreply.github.com>
Co-Authored-By: Agnik47 <140933190+Agnik47@users.noreply.github.com>
@graphite-app
graphite-app Bot force-pushed the mtd/python-community-fixes branch 2 times, most recently from a1a0ea6 to 5323f42 Compare October 14, 2026 21:08

This branch was successfully deployed

1 active deployment
staging - apps/docs — 5323f427 Deployed Oct 14, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant