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

Fix DB issue and change default model to gpt-4o #490

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

Conversation

ihor-chaban
Copy link

Summary

These changes helped me to resolve the issues described in #488

  • Fixed questionable conditions in message handling which sometimes triggered wrong handler and likely caused DB issues under some circumstances
  • Added default_text_model parameter in models.yml which helps to easily change the default model everywhere and changed the default model to gpt-4o
  • Updated docker-compose.yml:
    1. Added tmpfs for /db/configdb to avoid creating a new anonymous empty volume on each run
    2. Removed version as it's deprecated
    3. Changed restart policy from always to unless-stopped to be able to stop containers if necessary without deleting them (e.g. could be useful for debugging DB issues)

I've been testing these changes since the above issue was created and it works fine so far.
No DB issues encountered since then.

@ihor-chaban ihor-chaban changed the title Fix DB issue and add default_text_model parameter Fix DB issue and change default model to gpt-4o Dec 23, 2024
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