Skip to content

Commit 4a67492

Browse files
authored
feat: grok model updates (#4)
1 parent 1453189 commit 4a67492

File tree

7 files changed

+79
-6
lines changed

7 files changed

+79
-6
lines changed

blocks/public/grok-2.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
name: Grok 2
2-
version: 1.0.1
2+
version: 1.0.2
33
schema: v1
44

55
models:
66
- name: Grok 2
77
provider: xAI
88
model: grok-2-latest
9-
contextLength: 131072
9+
defaultCompletionOptions:
10+
contextLength: 131072
1011
apiKey: ${{ inputs.XAI_API_KEY }}
1112
roles:
1213
- chat

blocks/public/grok-3-mini.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Grok 3 Mini
2+
version: 1.0.0
3+
schema: v1
4+
5+
models:
6+
- name: Grok 3 Mini
7+
provider: xAI
8+
model: grok-3-mini
9+
defaultCompletionOptions:
10+
contextLength: 131072
11+
maxTokens: 8000
12+
apiKey: ${{ inputs.XAI_API_KEY }}
13+
roles:
14+
- chat
15+
- edit
16+
- apply

blocks/public/grok-3.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
name: Grok 3
2-
version: 1.0.0
2+
version: 1.0.1
33
schema: v1
44

55
models:
66
- name: Grok 3
77
provider: xAI
88
model: grok-3-latest
9-
contextLength: 131072
9+
defaultCompletionOptions:
10+
contextLength: 131072
1011
apiKey: ${{ inputs.XAI_API_KEY }}
1112
roles:
1213
- chat
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Grok 4 Fast Non-Reasoning
2+
version: 1.0.0
3+
schema: v1
4+
5+
models:
6+
- name: Grok 4 Fast Non-Reasoning
7+
provider: xAI
8+
model: grok-4-fast-non-reasoning
9+
defaultCompletionOptions:
10+
contextLength: 2000000
11+
maxTokens: 30000
12+
apiKey: ${{ inputs.XAI_API_KEY }}
13+
roles:
14+
- chat
15+
- edit
16+
- apply
17+
capabilities:
18+
- tool_use
19+
- image_input
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Grok 4 Fast Reasoning
2+
version: 1.0.0
3+
schema: v1
4+
5+
models:
6+
- name: Grok 4 Fast Reasoning
7+
provider: xAI
8+
model: grok-4-fast-reasoning
9+
defaultCompletionOptions:
10+
contextLength: 2000000
11+
maxTokens: 30000
12+
apiKey: ${{ inputs.XAI_API_KEY }}
13+
roles:
14+
- chat
15+
- edit
16+
- apply
17+
capabilities:
18+
- tool_use
19+
- image_input

blocks/public/grok-4.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
name: Grok 4
2-
version: 1.0.1
2+
version: 1.0.2
33
schema: v1
44

55
models:
66
- name: Grok 4
77
provider: xAI
88
model: grok-4
9-
contextLength: 131072
9+
defaultCompletionOptions:
10+
contextLength: 256000
1011
apiKey: ${{ inputs.XAI_API_KEY }}
1112
roles:
1213
- chat
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Grok Code Fast 1
2+
version: 1.0.0
3+
schema: v1
4+
5+
models:
6+
- name: Grok Code Fast 1
7+
provider: xAI
8+
model: grok-code-fast-1
9+
defaultCompletionOptions:
10+
contextLength: 256000
11+
maxTokens: 10000
12+
apiKey: ${{ inputs.XAI_API_KEY }}
13+
roles:
14+
- chat
15+
- edit
16+
- apply

0 commit comments

Comments
 (0)