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

Send message endpoint #635

Merged
merged 3 commits into from
Dec 9, 2024
Merged

Send message endpoint #635

merged 3 commits into from
Dec 9, 2024

Conversation

NaderRNA
Copy link
Collaborator

@NaderRNA NaderRNA commented Dec 9, 2024

Adds new endpoint
app.agentcloud.dev/:resourceSlug/session/:sessionId/send-message
that takes a single body parameter of
messageText
and does the following:

  1. authenticates bearer token used
  2. sends messageText to session via API

…sage sending, there exists an issue where the user-sent message doesn't appear in DB or show in the UI chat but the message sends successfully
@NaderRNA NaderRNA changed the base branch from master to develop December 9, 2024 00:21
Copy link

github-actions bot commented Dec 9, 2024

File Coverage
All files 96%
src/lib/utils/validationutils.ts 95%

Minimum allowed coverage is 80%

Generated by 🐒 cobertura-action against accca33

@NaderRNA
Copy link
Collaborator Author

NaderRNA commented Dec 9, 2024

There's just an issue right now that when a message is sent that it doesn't show up in the db and as a result doesn't show up when getting messages.json and in the UI

@ragyabraham ragyabraham merged commit ebfe223 into develop Dec 9, 2024
7 checks passed
@ragyabraham ragyabraham deleted the send-message-endpoint branch December 9, 2024 15:06
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