Playwright not executed when using openrouter models like meta-llama/llama-4-maverick:free gives error 400 Input required: specify "prompt" or "messages" #7818
Replies: 2 comments 1 reply
-
It's a context window issue, we don't have a default window size set for llama-4. You may potentially get around it if you set an appropriate value for max context tokens: |
Beta Was this translation helpful? Give feedback.
-
@danny-avila thank you for the hint, we tried 4028 or 2048 but get always his error: Something went wrong. Here's the specific error message we encountered: An error occurred while processing the request: 400 Input required: specify "prompt" or "messages" According to the model card https://openrouter.ai/meta-llama/llama-4-maverick:free and https://openrouter.ai/meta-llama/llama-4-scout:free it should work with 4028. Could you check at your end if you get any of the tools like playwrigth and filesystem running with llama-4-maverick:free ? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
What happened?
Tool use like playwrigth not executed when using openrouter models like meta-llama/llama-4-maverick:free
An Eror message occurs: Something went wrong. Here's the specific error message we encountered: An error occurred while processing the request: 400 Input required: specify "prompt" or "messages"
The same prompt works with anthropic Claude 3.7+ without any issues.
Version Information
a2f330e
Steps to Reproduce
What browsers are you seeing the problem on?
Chrome
Relevant log output
Screenshots
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions