-
Notifications
You must be signed in to change notification settings - Fork 116
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(ci): update supabase and OpenAI version #4213
Conversation
Run & review this pull request in StackBlitz Codeflow. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
View your CI Pipeline Execution ↗ for commit b4c0ec5.
☁️ Nx Cloud last updated this comment at |
Size Change: 0 B Total Size: 1.11 MB ℹ️ View Unchanged
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit b4c0ec5:
|
Paste Run #9293
Run Properties:
|
Project |
Paste
|
Branch Review |
fix-supabase-pgvector-version
|
Run status |
Passed #9293
|
Run duration | 02m 01s |
Commit |
b4c0ec5f33: fix(ci): sitemap
|
Committer | Kristian Antrobus |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
0
|
Skipped |
0
|
Passing |
67
|
View all changes introduced in this branch ↗︎ |
|
@@ -182,7 +182,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse) | |||
/** | |||
* perform run on the assistant to process the newly added user message | |||
*/ | |||
let run = await openai.beta.threads.runs.create(threadId, { assistant_id: assistantID }); | |||
let run = await openai.beta.threads.runs.create(threadId, { assistant_id: assistantID, model: "gpt-4o" }); |
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.
Updated the model, should have performance improvements
@@ -1,4 +1,4 @@ | |||
create extension if not exists "vector" with schema "public" version '0.5.0'; | |||
create extension if not exists "vector" with schema "public"; |
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.
Will default to the pgvector of the DB used by the environment
Paste Run #9291
Run Properties:
|
Project |
Paste
|
Branch Review |
fix-supabase-pgvector-version
|
Run status |
Passed #9291
|
Run duration | 05m 55s |
Commit |
18ac1b98ed ℹ️: Merge b4c0ec5f33e0dd9fda5e1b57e260e0df05d93286 into 2e22b6acbc056598b9bd3fbdd181...
|
Committer | krisantrobus |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
0
|
Skipped |
0
|
Passing |
125
|
View all changes introduced in this branch ↗︎ |
)} | ||
{threadsStore.selectedThreadID != null && <AssistantCanvas selectedThreadID={threadsStore.selectedThreadID} />} | ||
<AsssistantLayout.Composer> | ||
<AssistantComposer onMessageCreation={handleMessageCreation} /> | ||
<AssistantComposer |
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.
ohh nice 👏
Update version to resolve CI checks passing.
The latest version of Postgres (the underlying db) is updated to
postgres:15.8.1.026
. Any version above 15.7 has a later version of pgvector. This does not affect the hosted Supabase for stage or prod as migrations are applied based on changes made. All migrations are applied to local and CI instances as they are starting from scratch.This change was made on Jan 14th in this Commit.
Also updated the OpenAI version to use the new V2 assistant as it no longer works with V1.