Class: VibeSort::Providers::SpaceXAI

Inherits:
OpenAI
  • Object
show all
Defined in:
lib/vibe_sort/providers/space_x_ai.rb

Overview

Adapter for the SpaceXAI (xAI) Grok API (OpenAI-compatible Chat Completions)

Constant Summary collapse

ENDPOINT =
"https://api.x.ai/v1/chat/completions"
DEFAULT_MODEL =
"grok-4"

Constants inherited from Base

Base::SYSTEM_PROMPT

Instance Attribute Summary

Attributes inherited from Base

#config

Method Summary

Methods inherited from Base

#initialize, #perform

Constructor Details

This class inherits a constructor from VibeSort::Providers::Base