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

Fixed Session #6

Merged
merged 7 commits into from
Oct 26, 2023
Merged

Fixed Session #6

merged 7 commits into from
Oct 26, 2023

Conversation

anovazzi1
Copy link
Collaborator

This pull request enhances session continuity between messages, ensuring a seamless and uninterrupted user experience.

…Window components to pass API key to sendMessage function

fix(controllers): modify sendMessage function to include api_key in the request data if provided

feat(index.tsx): add api_key prop to ChatWidget component in custom element definition
… new flow ID, chat input field name, and API key

fix(index.ts): update headers object to include "api-key" header when provided in sendMessage function
…f "text" for better semantics

fix(index.tsx): add sessionId prop to ChatWindow component to keep track of the session ID
fix(index.tsx): update sendMessage function in ChatWindow component to include sessionId parameter
fix(index.tsx): add sessionId useRef to ChatWidget component to store the session ID
fix(index.ts): update sendMessage function to include sessionId parameter
feat(index.ts): add sessionId prop to ChatWindow component to pass the session ID to the API request
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