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

422 API Exception - When no tools are defined #2

Open
boatcow opened this issue Nov 21, 2024 · 1 comment
Open

422 API Exception - When no tools are defined #2

boatcow opened this issue Nov 21, 2024 · 1 comment

Comments

@boatcow
Copy link

boatcow commented Nov 21, 2024

Issue: Error when processing request using custom server without defined tools

Steps to Reproduce:

  1. Set up a custom server configuration
  2. Attempt to process a request without defining any tools
  3. Observe the resulting error

Current Behavior:

When trying to process a request using a custom server without defining any tools, the following error occurs:

image

Expected Behavior:

The system should be able to process requests without requiring tools to be defined.

Suggested Fix:

Make tools optional in the request processing logic. This would allow the system to handle requests both with and without defined tools.

image

@sahilsuman933
Copy link
Collaborator

Thanks for bringing this up @boatcow. Will fix it.

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

No branches or pull requests

2 participants