Problem/Motivation

When using the Chat Generation Explorer (/admin/config/ai/explorers/chat_generator) with some models (including Haiku 4.5 and Sonnet 4.5), the following error occurs:

The following error occurred while processing your request:

Error invoking model response: `temperature` and `top_p` cannot both be specified for this model. Please use only one.

Of the following exception type:

Drupal\ai\Exception\AiRequestErrorException

These models work without any similar issues in other situations (agents, content generations, etc...) - the issue seems limited to the Chat Generation Explorer.

thanks,
-mike

Comments

ultimike created an issue. See original summary.

marcus_johansson’s picture

Issue tags: +priority
marcus_johansson’s picture

Status: Active » Needs review
marcus_johansson’s picture

Status: Needs review » Fixed

Thank you, getting merged as part of the MR of the other issue.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.