You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,7 @@ $openai = new OpenAI(
70
70
```
71
71
72
72
Available OpenAI Models:
73
+
-`MODEL_GPT_5_NANO`: GPT-5 Nano - Small GPT-5 variant optimized for low latency and cost-sensitive workloads
73
74
-`MODEL_GPT_4_5_PREVIEW`: GPT-4.5 Preview - OpenAI's most advanced model with enhanced reasoning, broader knowledge, and improved instruction following
74
75
-`MODEL_GPT_4_1`: GPT-4.1 - Advanced large language model with strong reasoning capabilities and improved context handling
75
76
-`MODEL_GPT_4O`: GPT-4o - Multimodal model optimized for both text and image processing with faster response times
@@ -143,14 +144,15 @@ use Utopia\Agents\Adapters\XAI;
143
144
144
145
$xai = new XAI(
145
146
apiKey: 'your-api-key',
146
-
model: XAI::MODEL_GROK_2_LATEST,
147
+
model: XAI::MODEL_GROK_3_MINI,
147
148
maxTokens: 2048,
148
149
temperature: 0.7
149
150
);
150
151
```
151
152
152
153
Available XAI Models:
153
-
-`MODEL_GROK_2_LATEST`: Latest Grok model
154
+
-`MODEL_GROK_3`: Latest Grok model
155
+
-`MODEL_GROK_3_MINI`: Mini version of Grok model
154
156
-`MODEL_GROK_2_IMAGE`: Latest Grok model with image support
155
157
156
158
### Managing Conversations
@@ -245,4 +247,4 @@ We truly ❤️ pull requests! If you wish to help, you can learn more about how
245
247
246
248
## Copyright and license
247
249
248
-
The MIT License (MIT) [http://www.opensource.org/licenses/mit-license.php](http://www.opensource.org/licenses/mit-license.php)
250
+
The MIT License (MIT) [http://www.opensource.org/licenses/mit-license.php](http://www.opensource.org/licenses/mit-license.php)
0 commit comments