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: new thread isn't automatically created on factory reset #4295

Merged
merged 5 commits into from
Dec 19, 2024

Conversation

louis-jan
Copy link
Contributor

@louis-jan louis-jan commented Dec 19, 2024

Describe Your Changes

This PR fixes the issue where the app doesn't automatically create a new thread after downloading a model from the welcome screen.

CleanShot 2024-12-19 at 11 43 12

Changes made

The changes in this PR include modifications to the following files:

  • core/src/browser/extensions/engines/OAIEngine.ts: Adjusted timestamp to use seconds.
  • extensions/assistant-extension/src/index.ts: Adjusted timestamp to use seconds.
  • web/screens/Thread/ThreadCenterPanel/TextMessage/index.tsx: Adjusted timestamp to use seconds.
  • web/screens/Thread/ThreadLeftPanel/index.tsx: Changed logic for creating new thread with default assistant.
  • web/utils/datetime.ts: Adjusted timestamp handling to use seconds.
  • web/utils/messageRequestBuilder.ts: Removed unused import.
  • web/utils/threadMessageBuilder.ts: Adjusted timestamp to use seconds.

@louis-jan louis-jan requested a review from urmauur December 19, 2024 03:34
@github-actions github-actions bot added the type: bug Something isn't working label Dec 19, 2024
Copy link
Contributor

github-actions bot commented Dec 19, 2024

@louis-jan louis-jan merged commit fd45e7e into dev Dec 19, 2024
10 checks passed
@louis-jan louis-jan deleted the fix/no-new-thread-created-on-factory-reset branch December 19, 2024 07:14
@github-actions github-actions bot added this to the v0.5.12 milestone Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants