CleoPatra
CleoPatra
CCConvex Community
Created by CleoPatra on 8/17/2025 in #support-community
Super Slow
My sites that are using convex have suddenly become very slow. any one know why?
3 replies
CCConvex Community
Created by CleoPatra on 4/9/2025 in #support-community
Trying to use the new Ai Agent Error
Hey im trying to use the ai agent that was just posted but im probably missing something because straight away im getting this error: code: const supportAgent = new Agent(components.agent, { thread: openai.chat("gpt-4o-mini"), textEmbedding: openai.embedding("text-embedding-3-small"), instructions: "You are a helpful assistant.", }); error on components.agent: Argument of type '{ messages: { addMessages: FunctionReference<"mutation", "internal", { agentName?: string | undefined; embeddings?: { dimension: 128 | 256 | 512 | 768 | 1024 | 1536 | 2048 | 3072 | 4096; model: string; vectors: (number[] | null)[]; } | undefined; ... 7 more ...; userId?: string | undefined; }, { ...; }>; ... 15 more...' is not assignable to parameter of type '{ [x: string]: { [x: string]: FunctionReference<any, "internal", any, any, string | undefined>; }; }'. Property 'vector' is incompatible with index signature. Type '{ index: { deleteBatch: FunctionReference<"mutation", "internal", { ids: string[]; }, null>; deleteBatchForThread: FunctionReference<"mutation", "internal", { cursor?: string | undefined; limit: number; model: string; threadId: string; vectorDimension: 128 | ... 7 more ... | 4096; }, { ...; }>; insertBatch: Function...' is not assignable to type '{ [x: string]: FunctionReference<any, "internal", any, any, string | undefined>; }'. Property 'index' is incompatible with index signature. Type '{ deleteBatch: FunctionReference<"mutation", "internal", { ids: string[]; }, null>; deleteBatchForThread: FunctionReference<"mutation", "internal", { cursor?: string | undefined; limit: number; model: string; threadId: string; vectorDimension: 128 | ... 7 more ... | 4096; }, { ...; }>; insertBatch: FunctionReference...' is missing the following properties from type 'FunctionReference<any, "internal", any, any, string | undefined>': _type, _visibility, _args, _returnType, _componentPath
16 replies
CCConvex Community
Created by CleoPatra on 11/19/2024 in #support-community
Default values in table field
I have a table with a v.object field. In the future this object might get more values set in it. Is there a way to updated the existing data in the database with default values?
4 replies
CCConvex Community
Created by CleoPatra on 11/16/2024 in #support-community
Creating a new authAccount not with signIn of useAuthActions
Hey, I’m building a site with Nextjs and using convex. I want the admin of the site to be able to create the users (doesn’t matter the provider but either password, otp or resend). I managed to add new user but not in the authAccount table which is what I need for them to login by themselves after the admin of the site adds them. Thank you!
8 replies