Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Personas memories fix #1917

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Personas memories fix #1917

wants to merge 5 commits into from

Conversation

mdmohsin7
Copy link
Collaborator

@mdmohsin7 mdmohsin7 commented Feb 27, 2025

  • 30s timeout for X api calls
  • add try catch for sync_update_persona_prompt
  • update the persona prompts async in a separate thread without disturbing the process_memory

@mdmohsin7 mdmohsin7 marked this pull request as ready for review February 28, 2025 13:18
@beastoin
Copy link
Collaborator

beastoin commented Mar 1, 2025

1/ from my experience, this code block is the cause of websocket connection drop (/listen API). do you experience the same ? https://github.com/BasedHardware/omi/pull/1917/files#diff-e518096e8d0948a411d3035bacafc371d1a8600659b7b7f6ea667f73b2231dc4L195-R203

@mdmohsin7

@mdmohsin7
Copy link
Collaborator Author

1/ I did not had issues when I was testing locally (with 30s timeout). I'll test it a bit more and maybe will move it to make it independent so no other function should be dependent on it

@beastoin

@mdmohsin7 mdmohsin7 marked this pull request as draft March 4, 2025 12:10
@mdmohsin7 mdmohsin7 marked this pull request as ready for review March 7, 2025 11:16
@beastoin
Copy link
Collaborator

beastoin commented Mar 9, 2025

1/ please do a small research. how does the thread impact to the python application ?

@mdmohsin7

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.

2 participants