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
$ curl -X POST https://eigenai-sepolia.eigencloud.xyz/v1/chat/completions \
21
+
-H "X-API-Key: <api-key>" \
22
+
-H "Content-Type: application/json" \
23
+
-d '{
24
+
"model": "gpt-oss-120b-f16",
25
+
"max_tokens": 120,
26
+
"seed": 42,
27
+
"messages": [{"role": "user", "content": "Write a story about programming"}]
28
+
}'| jq
29
+
```
30
+
</TabItem>
31
+
<TabItemvalue="mainnet"label="Mainnet Request">
32
+
```bash
33
+
$ curl -X POST https://eigenai.eigencloud.xyz/v1/chat/completions \
34
+
-H "X-API-Key: <api-key>" \
35
+
-H "Content-Type: application/json" \
36
+
-d '{
37
+
"model": "gpt-oss-120b-f16",
38
+
"max_tokens": 120,
39
+
"seed": 42,
40
+
"messages": [{"role": "user", "content": "Write a story about programming"}]
41
+
}'| jq
42
+
```
43
+
</TabItem>
44
+
45
+
<TabItemvalue="response"label="Response">
46
+
```
37
47
{
38
-
"index": 0,
39
-
"message": {
40
-
"role": "assistant",
41
-
"content": "<|channel|>analysis<|message|>The user asks: \"Write a story about programming\". Need to produce a story. Probably creative, about programming, characters, maybe AI, debugging, etc. Should be engaging. No constraints other than story. I will craft a narrative with a protagonist, their journey, maybe metaphorical. Use vivid language. Provide a story. Ensure it's appropriate. Probably around 800-1200 words? Not too long, but enough. I'll deliver.<|end|><|start|>assistant<|channel|>final<|message|>**The Compiler’s Apprentice**\n\nWhen Maya first walked into the cramped, fluorescent‑lit office of LumenTech"
"content": "<|channel|>analysis<|message|>The user asks: \"Write a story about programming\". Need to produce a story. Probably creative, about programming, characters, maybe AI, debugging, etc. Should be engaging. No constraints other than story. I will craft a narrative with a protagonist, their journey, maybe metaphorical. Use vivid language. Provide a story. Ensure it's appropriate. Probably around 800-1200 words? Not too long, but enough. I'll deliver.<|end|><|start|>assistant<|channel|>final<|message|>**The Compiler’s Apprentice**\n\nWhen Maya first walked into the cramped, fluorescent‑lit office of LumenTech"
0 commit comments