Hi there,
We gave a try to ai-inference action with the openai/gpt-5-nano
model but got this error:
Run actions/ai-inference@v2
Using legacy prompt format
Running simple inference without tools
Error: simpleInference: chatCompletion failed: Error: 400 Unsupported parameter: 'max_tokens' is not supported with this model. Use 'max_completion_tokens' instead.
Error: 400 Unsupported parameter: 'max_tokens' is not supported with this model. Use 'max_completion_tokens' instead.
Best,