Skip to content

Conversation

@Huarada
Copy link

@Huarada Huarada commented Nov 13, 2025

Description

This pull request introduces the complete chatbot integration for the portfolio. It adds the Cloudflare Worker proxy responsible for handling OpenAI requests, configures CORS rules, and updates the frontend to consume the new /chat endpoint. The UI now supports Markdown rendering for model responses, improving readability for lists, emphasis and formatted content. These changes aim to make the assistant fully functional both locally and in production environments.

No new external dependencies affect the existing build, aside from enabling optional Markdown rendering on the client.

Fixes # (issue)
Type of change

  • [ x] New feature (non-breaking change which adds functionality)

@vercel
Copy link

vercel bot commented Nov 13, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
developer-folio Ready Ready Preview Comment Nov 13, 2025 3:53am

@Huarada
Copy link
Author

Huarada commented Nov 13, 2025

To use the chatbot correctly,The user also need to change the CHAT_WORKER_URL, inside the chatConfig.js, for the one used to store the openAI API key + context for the chatbot. Readme.md changes may be needed to add this instruction.
If the CHAT_WORKER_URL isn't changed, it will trigger the error message "Connection Error, please check your network and try again"

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.

1 participant