Skip to content
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: resolve issue with chatgpt and ai-coach xblock #618

Open
wants to merge 1 commit into
base: develop-koa
Choose a base branch
from

Conversation

Anas-hameed
Copy link

@Anas-hameed Anas-hameed commented Mar 11, 2025

Description:

This PR fixed the issue related to ChatGPT and Coach AI block.

For coach AI, the latest version is not backward compatible with the Koa release. So, I created a branch from version 1.0.7 and pulled some commits from upstream to fix the required issue. Additionally, to support the latest code, the version of OpenAI is bumped in it. The commit here making it incompatible with koa.

edly-io/ai-coach-xblock@1.0.7...Anas/Fix-devstack-issues

For the chatgpt block, the code was not compatible with the bump version of OpenAI. So, we have to update the code to support the logic with openai=1.65.5. Additionally, the syntax issue in the JS file regarding getting elements is resolved. Below is a rebase of ChatGPT xblock with some improvement/bug fixes.

https://github.com/abconlinecourses/chatgpt-xblock/compare/main...edly-io:chatgpt-xblock:Anas/Fix-chatgpt-xblock?expand=1

Views:

image

image

@Anas-hameed Anas-hameed self-assigned this Mar 11, 2025
@Anas-hameed Anas-hameed force-pushed the Anas/Fix-AI-xblock branch 2 times, most recently from 295f014 to 5efb8d5 Compare March 11, 2025 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants