Fix attempt to call field 'is_o_series_model' in Copilot provider (#1514)

This commit is contained in:
Umut Önder
2025-03-07 04:14:36 +01:00
committed by GitHub
parent 11305eaacd
commit dbe31a866a

View File

@@ -215,6 +215,8 @@ M.parse_messages = OpenAI.parse_messages
M.parse_response = OpenAI.parse_response
M.is_o_series_model = OpenAI.is_o_series_model
function M:parse_curl_args(prompt_opts)
-- refresh token synchronously, only if it has expired
-- (this should rarely happen, as we refresh the token in the background)