fix: do not allow max_tokens & max_completion_tokens at the same time (#1633)

* fix: do not allow max_tokens & max_completion_tokens at the same time

* chore: fix formatting
This commit is contained in:
kernitus
2025-03-18 17:44:41 +00:00
committed by GitHub
parent 191d7b8783
commit 7d137d32cb
2 changed files with 5 additions and 6 deletions

View File

@@ -32,8 +32,7 @@ function M:parse_curl_args(prompt_opts)
end
end
-- NOTE: When using reasoning models set supported parameters
self.set_reasoning_params(provider_conf, request_body)
self.set_allowed_params(provider_conf, request_body)
return {
url = Utils.url_join(