Skip to content

Commit 1bda740

Browse files
committed
update docs and lint
1 parent 465edcb commit 1bda740

File tree

3 files changed

+21
-17
lines changed

3 files changed

+21
-17
lines changed

docs/providers/groq.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,15 @@ main()
3838
<!-- compatibility -->
3939
## Supported Models
4040

41-
| Model | Chat Completion | Streaming | JSON Output | Image Input | Function Calling | N > 1 |
42-
| ------------------ | --------------- | --------- | ----------- | ----------- | ---------------- | ----- |
43-
| llama3-8b-8192 |||||||
44-
| llama3-70b-8192 |||||||
45-
| mixtral-8x7b-32768 |||||||
46-
| gemma-7b-it |||||||
47-
| gemma2-9b-it |||||||
41+
| Model | Chat Completion | Streaming | JSON Output | Image Input | Function Calling | N > 1 |
42+
| ----------------------- | --------------- | --------- | ----------- | ----------- | ---------------- | ----- |
43+
| llama-3.3-70b-versatile |||||||
44+
| llama-3.1-8b-instant |||||||
45+
| llama3-8b-8192 |||||||
46+
| llama3-70b-8192 |||||||
47+
| mixtral-8x7b-32768 |||||||
48+
| gemma-7b-it |||||||
49+
| gemma2-9b-it |||||||
4850

4951
### Legend
5052
| Symbol | Description |

docs/providers/perplexity.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,11 @@ main()
3838
<!-- compatibility -->
3939
## Supported Models
4040

41-
| Model | Chat Completion | Streaming | JSON Output | Image Input | Function Calling | N > 1 |
42-
| ------------------------------ | --------------- | --------- | ----------- | ----------- | ---------------- | ----- |
43-
| llama-3-sonar-small-32k-chat |||||||
44-
| llama-3-sonar-small-32k-online |||||||
45-
| llama-3-sonar-large-32k-chat |||||||
46-
| llama-3-sonar-large-32k-online |||||||
47-
| llama-3-8b-instruct |||||||
48-
| llama-3-70b-instruct |||||||
49-
| mixtral-8x7b-instruct |||||||
41+
| Model | Chat Completion | Streaming | JSON Output | Image Input | Function Calling | N > 1 |
42+
| --------------------------------- | --------------- | --------- | ----------- | ----------- | ---------------- | ----- |
43+
| llama-3.1-sonar-small-128k-online |||||||
44+
| llama-3.1-sonar-large-128k-online |||||||
45+
| llama-3.1-sonar-huge-128k-online |||||||
5046

5147
### Legend
5248
| Symbol | Description |

src/models.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,13 @@ export const models = {
386386
// produce valid JSON or produce very low quality results for the following prompt: "Generate a
387387
// JSON that maps ten athletes to their jersey numbers". We removed these models from the list
388388
// to ensure that we only support models that reliably produce decent results.
389-
supportsJSON: ['llama-3.3-70b-versatile', 'llama-3.1-8b-instant', 'llama3-70b-8192', 'gemma-7b-it', 'gemma2-9b-it'] as const,
389+
supportsJSON: [
390+
'llama-3.3-70b-versatile',
391+
'llama-3.1-8b-instant',
392+
'llama3-70b-8192',
393+
'gemma-7b-it',
394+
'gemma2-9b-it',
395+
] as const,
390396
supportsImages: [] as const,
391397
supportsToolCalls: [] as const,
392398
supportsN: false,

0 commit comments

Comments
 (0)