update test to use new naming
This commit is contained in:
@@ -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 = {
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user