OfficeDev / teams-toolkit

Developer tools for building Teams apps
Other
453 stars 185 forks source link

Dependency Conflict for Custom Engine Copilot Templates with Teams AI Library #12375

Closed DakotaWray2 closed 1 week ago

DakotaWray2 commented 2 weeks ago

Describe the bug A dependency conflict exists between teams-ai and openai versions in teams toolkit custom copilot templates preventing debug. Debug fails at npm install. Running npm install manually produces the screenshot below.

To Reproduce Steps to reproduce the behavior:

  1. Create a New App > Custom Engine Copilot > Basic AI Chatbot > TypeScript > AOAI

Screenshots err

VS Code Extension Information (please complete the following information):

DakotaWray2 commented 2 weeks ago

I was able to get the templates to run by mirroring the versions of teams-ai and openai in the team-ai library's samples.

kuojianlu commented 1 week ago

@DakotaWray2 This is a known issue and has been fixed in the latest pre-release version. Yes, the change of openai and teams-ai version is the right solution.