fixed inconsistent namings

This commit is contained in:
2025-09-23 21:36:32 -06:00
parent 5b82c5381e
commit 1b43505bd3

View File

@@ -189,8 +189,8 @@ function xai.create(api_key: string)
return client return client
end end
function xai.responses(api_key: string, request: CompletionsRequest): CompletionsResponse function xai.completions(api_key: string, request: CompletionsRequest): CompletionsResponse
return xai.create(api_key):responses(request) return xai.create(api_key):completions(request)
end end
return xai return xai