Hi,
when using gpt-5 model(s) the translation app will break the application.
ERROR:slack_bolt.App:Failed to run an internal function (Error code: 400 - {'error': {'message': "Unsupported parameter: 'max_tokens' is not supported with this model. Use 'max_completion_tokens' instead.", 'type': 'invalid_request_error', 'param': 'max_tokens', 'code': 'unsupported_parameter'}})
ERROR:slack_bolt.App:Failed to run an internal function (Error code: 400 - {'error': {'message': "Unsupported parameter: 'logit_bias' is not supported with this model.", 'type': 'invalid_request_error', 'param': 'logit_bias', 'code': 'unsupported_parameter'}})
changing max_tokens in app/i18n.py to max_completion_tokens works, also removing logit_bias. But it will probably break 4 models.
Cheers,
Alex
Hi,
when using gpt-5 model(s) the translation app will break the application.
changing max_tokens in app/i18n.py to max_completion_tokens works, also removing logit_bias. But it will probably break 4 models.
Cheers,
Alex