update test to use new naming

This commit is contained in:
2025-09-24 14:46:03 -06:00
parent 1ac72463ad
commit 9f881c6372

View File

@@ -3,7 +3,7 @@ local xai = require('../src')
local apiKey: string = stdio.prompt("text", "Please provide the API key for testing") local apiKey: string = stdio.prompt("text", "Please provide the API key for testing")
local response = xai.responses(apiKey, { local response = xai.completions(apiKey, {
model = 'grok-4-fast-non-reasoning', model = 'grok-4-fast-non-reasoning',
messages = { messages = {
{ {