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

Bug Report: Body not properly built for POST actions #10

Closed
DynamesC opened this issue Jan 26, 2024 · 3 comments
Closed

Bug Report: Body not properly built for POST actions #10

DynamesC opened this issue Jan 26, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@DynamesC
Copy link
Collaborator

DynamesC commented Jan 26, 2024

Describe the bug
When an assistant intends to trigger an action, the body will not be properly built according to schema if it is a POST action.

To Reproduce
Steps to reproduce the behavior:

  1. Create a proper action with POST method.
  2. Create an Assistant and grant it the access to the action created in 1. The model applied to assistant should support function calls
  3. In Playground, ask the assistant to trigger the action created in 1.

Expected behavior
The model successfully received response from the POST endpoint, and generate response based on the response.

Screenshots
WX20240126-153408

Desktop (please complete the following information):

  • OS: MacOS Monterey 12.5.1
  • Browser: Chrome 120.0.6099.109 (Official Build) (arm64)
  • Version 0.1.0

Additional context
Add any other context about the problem here.

@TaskingAI TaskingAI deleted a comment from DynamesC Jan 26, 2024
@jameszyao jameszyao self-assigned this Jan 26, 2024
@jameszyao
Copy link
Contributor

We are now looking into it and will fix asap

@jameszyao jameszyao added the bug Something isn't working label Jan 27, 2024
This was referenced Jan 29, 2024
@jameszyao
Copy link
Contributor

Please refer to README.md and upgrade to the latest docker image version. You can create a new action with your OpenAPI schema and test it again in the playground.

Please give us a confirmation if it works for you now :-)

@DynamesC
Copy link
Collaborator Author

Yes it is fixed now. Thanks James.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants