CopilotKit icon indicating copy to clipboard operation
CopilotKit copied to clipboard

📚 Documentation: Fix Import Statement for OpenAI: Use Named Import Instead of Default Import

Open Kwesi-dev opened this issue 1 year ago • 2 comments

💬 Let us know how we can improve our documentation.

https://docs.copilotkit.ai/quickstart

Where can this issue be found This issue can be found under Endpoint setup. The code snippet is as follows: import OpenAI from 'openai';

Why this change OpenAI is not exported as default from openai. This leads to a typescript warning.

Kwesi-dev avatar Nov 10 '24 12:11 Kwesi-dev

@Kwesi-dev can you assign to me i would work on it

aravind0543 avatar Nov 12 '24 17:11 aravind0543

@AravindAkuthota, yes please go ahead and work on it.

NathanTarbert avatar Dec 05 '24 22:12 NathanTarbert