Logo

openai

#10532

model_support_error

The specified tool is not supported in the current model. Refer to the documentation for a list of supported models.

This error has been identified and solved.

Reason

The 404 error you are encountering, specifically the message "tools is not supported in this model," indicates that the model you are trying to use does not support the functionality or endpoint you are attempting to access.

Here are the key points:

  • The error suggests that the model you are using (e.g., "gpt-3.5-turbo") does not have the capability or endpoint for the function you are trying to call.

  • This issue is not related to your account or API key, but rather the compatibility of the model with the specific function or endpoint you are using.

  • The error message directs you to check the list of supported models and their capabilities, implying that the model you are using does not support the requested function.

Solution

To resolve the 404 error due to the model not supporting the requested function, you need to ensure you are using a compatible model. Here are the steps to fix this issue:

  • Check Supported Models: Verify which models support the functionality you need by referring to OpenAI's documentation on supported models for function calling.

  • Switch to a Compatible Model: Use a model that is listed as supporting the functions or endpoints you are trying to access, such as models that support function calling.

  • Adjust Your API Requests: Update your API requests to use the compatible model instead of the one currently causing the error.

By ensuring the model you use supports the necessary functions, you can avoid the 404 error.

Original Error Message

Raw

The specified tool is not supported in the current model. Refer to the documentation for a list of supported models.

Original Error Message

Raw

The specified tool is not supported in the current model. Refer to the documentation for a list of supported models.

© 2024 Portkey, Inc. All rights reserved

HIPAA

COMPLIANT

GDPR

Transform Your AI app prototypes to be production-ready

Talk to us →