Skip to content

🐛 Bug: Check for updates is happening when i do not want it to #2751

Description

@williamohara

♻️ Reproduction Steps

I can not have a call to this endpoint https://api.cloud.copilotkit.ai/check-for-updates

It looks like in the library that you may have wanted this check to not happen with dev console is fales
I have my wrapper component set up like this

<CopilotKit runtimeUrl="/app/api/.ba/copilotkit" agent="tallya" showDevConsole={false}>

but it is still trying to call that endpoint - is it nessesary.

right now it is down- do i am getting a bunch of 500 errors in my browser in production

Image

and when i am dev mode i get this mess as i am coding

Image

✅ Expected Behavior

i expect to have a flag that will disallow such a check when i do not want it to (i am thinking that is should be dev console set to false)

The endpoint should work if i do want to check - but it should only check in dev mode not in production

❌ Actual Behavior

I am getting 502 errors in production

i am getting a bad developer experience (the next js errors)

𝌚 CopilotKit Version

├── @copilotkit/react-core@1.10.6
├── @copilotkit/react-ui@1.10.6
├── @copilotkit/runtime@1.10.6
├── @copilotkit/sdk-js@1.10.6

📄 Logs (Optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions