Skip to content

Commit 54c46b6

Browse files
authored
fix(docs): add command-r-plus to ai chat block (#6578)
* add command-r-plus to ai chat block * adding docs-yml.schema.json * fix: update fdr-sdk * fix: add changelog
1 parent 88fde8a commit 54c46b6

File tree

10 files changed

+33
-21
lines changed

10 files changed

+33
-21
lines changed

docs-yml.schema.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2500,7 +2500,8 @@
25002500
"type": "string",
25012501
"enum": [
25022502
"claude-3.5",
2503-
"claude-3.7"
2503+
"claude-3.7",
2504+
"command-r-plus"
25042505
]
25052506
},
25062507
"docs.AIChatConfig": {

fern/apis/docs-yml/definition/docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,8 @@ types:
175175
name: claude_3_5
176176
- value: "claude-3.7"
177177
name: claude_3_7
178+
- value: command-r-plus
179+
name: command_r_plus
178180

179181
TabConfig:
180182
extends: [WithPermissions, WithFeatureFlags]

packages/cli/cli/versions.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
- changelogEntry:
2+
- summary: |
3+
Add support for Cohere's Command R+ model in AI chat - model ID: command-r-plus
4+
type: feat
5+
irVersion: 57
6+
version: 0.57.3
7+
18
- changelogEntry:
29
- summary: |
310
Add support for parsing `type: enum` in OpenAPI schemas. This allows for proper conversion of enum types that use the

packages/cli/configuration/src/docs-yml/schemas/sdk/api/resources/docs/types/AiChatModel.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
* This file was auto-generated by Fern from our API Definition.
33
*/
44

5-
export type AiChatModel = "claude-3.5" | "claude-3.7";
5+
export type AiChatModel = "claude-3.5" | "claude-3.7" | "command-r-plus";
66
export const AiChatModel = {
77
Claude35: "claude-3.5",
88
Claude37: "claude-3.7",
9+
CommandRPlus: "command-r-plus",
910
} as const;

packages/cli/configuration/src/docs-yml/schemas/sdk/serialization/resources/docs/types/AiChatModel.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import * as FernDocsConfig from "../../../../api/index";
77
import * as core from "../../../../core";
88

99
export const AiChatModel: core.serialization.Schema<serializers.AiChatModel.Raw, FernDocsConfig.AiChatModel> =
10-
core.serialization.enum_(["claude-3.5", "claude-3.7"]);
10+
core.serialization.enum_(["claude-3.5", "claude-3.7", "command-r-plus"]);
1111

1212
export declare namespace AiChatModel {
13-
export type Raw = "claude-3.5" | "claude-3.7";
13+
export type Raw = "claude-3.5" | "claude-3.7" | "command-r-plus";
1414
}

packages/cli/docs-preview/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
},
2929
"dependencies": {
3030
"@fern-api/docs-resolver": "workspace:*",
31-
"@fern-api/fdr-sdk": "0.134.1-b63da7113",
31+
"@fern-api/fdr-sdk": "0.134.1-03ab42853",
3232
"@fern-api/fs-utils": "workspace:*",
3333
"@fern-api/ir-sdk": "workspace:*",
3434
"@fern-api/logger": "workspace:*",

packages/cli/docs-resolver/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"@fern-api/core-utils": "workspace:*",
3333
"@fern-api/docs-markdown-utils": "workspace:*",
3434
"@fern-api/docs-parsers": "0.0.65",
35-
"@fern-api/fdr-sdk": "0.134.1-b63da7113",
35+
"@fern-api/fdr-sdk": "0.134.1-03ab42853",
3636
"@fern-api/lazy-fern-workspace": "workspace:*",
3737
"@fern-api/ui-core-utils": "0.129.4-b6c699ad2",
3838
"@fern-api/fs-utils": "workspace:*",

packages/cli/workspace/loader/src/docs-yml.schema.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2500,7 +2500,8 @@
25002500
"type": "string",
25012501
"enum": [
25022502
"claude-3.5",
2503-
"claude-3.7"
2503+
"claude-3.7",
2504+
"command-r-plus"
25042505
]
25052506
},
25062507
"docs.AIChatConfig": {

packages/cli/yaml/docs-validator/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"@fern-api/core-utils": "workspace:*",
3232
"@fern-api/docs-markdown-utils": "workspace:*",
3333
"@fern-api/docs-resolver": "workspace:*",
34-
"@fern-api/fdr-sdk": "0.134.1-b63da7113",
34+
"@fern-api/fdr-sdk": "0.134.1-03ab42853",
3535
"@fern-api/fern-definition-schema": "workspace:*",
3636
"@fern-api/fs-utils": "workspace:*",
3737
"@fern-api/ir-generator": "workspace:*",

pnpm-lock.yaml

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)