-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Merge repo oficial #1922
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
Closed
Closed
Merge repo oficial #1922
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
2c78008
remove open ai key validation
VCalazans c5121ac
Merge pull request #1633 from VCalazans/FIX/ISSUE-28
DavidsonGomes edb1dcf
feat: speech to text default true
VCalazans 20b5066
update lib
VCalazans 7960f0d
update lib sharp
VCalazans f58e792
Correção com chatwoot
VCalazans abe25d2
fix jimp 2
VCalazans fe1a93d
Revert "fix jimp 2"
VCalazans 811e369
Revert "Correção com chatwoot"
VCalazans 9969727
Revert "update lib sharp"
VCalazans 49b174d
Revert "update lib"
VCalazans fe93353
Revert "feat: speech to text default true"
VCalazans cd09ed1
force npm install
VCalazans 205ea81
Reapply "feat: speech to text default true"
VCalazans d32d6a5
Credenciais default openai
VCalazans c313f5b
Correção lId
VCalazans 3fa9d10
Novas correções
VCalazans 7df26ea
Novas correções, e logs de erro com lID
VCalazans e430d9e
Fix error json
VCalazans 9c7bf23
Merge branch 'main' into main
VCalazans 026584e
Fix dockerfile
VCalazans 70a2c18
Merge branch 'release/2.3.2'
DavidsonGomes c2085b5
Merge branch 'release/2.3.2'
DavidsonGomes a9485f1
Merge branch 'develop' into main
VCalazans File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
prisma/mysql-migrations/20250709000000_change_speech_to_text_default_to_true/migration.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| -- AlterTable | ||
| ALTER TABLE `OpenaiSetting` MODIFY COLUMN `speechToText` BOOLEAN NULL DEFAULT true; | ||
|
|
||
| -- Update existing records to use the new default | ||
| UPDATE `OpenaiSetting` SET `speechToText` = true WHERE `speechToText` IS NULL OR `speechToText` = false; | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
.../postgresql-migrations/20250709000000_change_speech_to_text_default_to_true/migration.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| -- AlterTable | ||
| ALTER TABLE "OpenaiSetting" ALTER COLUMN "speechToText" SET DEFAULT true; | ||
|
|
||
| -- Update existing records to use the new default | ||
| UPDATE "OpenaiSetting" SET "speechToText" = true WHERE "speechToText" IS NULL OR "speechToText" = false; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. issue (bug_risk): Migration may overwrite intentional false values. This update will change all false or NULL values to true, potentially overriding intentional false settings. Please confirm if this aligns with the desired migration behavior. |
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue (bug_risk): Migration may overwrite intentional false values.
Currently, the migration updates both NULL and false values to true. If false values are intentional, you may want to update only NULL values instead.