Skip to content

Commit a5150ad

Browse files
🌿 Fern Regeneration -- November 10, 2025 (#709)
* SDK regeneration * Update manually maintained files to ensure backward compatibility --------- Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com> Co-authored-by: fern-support <126544928+fern-support@users.noreply.github.com>
1 parent b1463a2 commit a5150ad

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+8384
-914
lines changed

.fern/metadata.json

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
{
2+
"cliVersion": "0.112.1",
3+
"generatorName": "fernapi/fern-python-sdk",
4+
"generatorVersion": "4.35.0",
5+
"generatorConfig": {
6+
"pyproject_python_version": "^3.9",
7+
"inline_request_params": false,
8+
"extra_dependencies": {
9+
"fastavro": "^1.9.4",
10+
"requests": "^2.0.0",
11+
"types-requests": "^2.0.0",
12+
"tokenizers": ">=0.15,<1",
13+
"httpx-sse": "^0.4.0"
14+
},
15+
"improved_imports": true,
16+
"pydantic_config": {
17+
"frozen": false,
18+
"union_naming": "v1",
19+
"require_optional_fields": false,
20+
"extra_fields": "allow",
21+
"use_str_enums": true,
22+
"skip_validation": true
23+
},
24+
"timeout_in_seconds": 300,
25+
"client": {
26+
"class_name": "BaseCohere",
27+
"filename": "base_client.py",
28+
"exported_class_name": "Client",
29+
"exported_filename": "client.py"
30+
},
31+
"additional_init_exports": [
32+
{
33+
"from": "client",
34+
"imports": [
35+
"Client",
36+
"AsyncClient"
37+
]
38+
},
39+
{
40+
"from": "bedrock_client",
41+
"imports": [
42+
"BedrockClient",
43+
"BedrockClientV2"
44+
]
45+
},
46+
{
47+
"from": "sagemaker_client",
48+
"imports": [
49+
"SagemakerClient",
50+
"SagemakerClientV2"
51+
]
52+
},
53+
{
54+
"from": "aws_client",
55+
"imports": [
56+
"AwsClient"
57+
]
58+
},
59+
{
60+
"from": "client_v2",
61+
"imports": [
62+
"AsyncClientV2",
63+
"ClientV2"
64+
]
65+
},
66+
{
67+
"from": "aliases",
68+
"imports": [
69+
"StreamedChatResponseV2",
70+
"MessageStartStreamedChatResponseV2",
71+
"MessageEndStreamedChatResponseV2",
72+
"ContentStartStreamedChatResponseV2",
73+
"ContentDeltaStreamedChatResponseV2",
74+
"ContentEndStreamedChatResponseV2",
75+
"ToolCallStartStreamedChatResponseV2",
76+
"ToolCallDeltaStreamedChatResponseV2",
77+
"ToolCallEndStreamedChatResponseV2",
78+
"ChatResponse"
79+
]
80+
}
81+
]
82+
}
83+
}

.fernignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ src/cohere/utils.py
1111
src/cohere/overrides.py
1212
src/cohere/config.py
1313
src/cohere/manually_maintained
14+
src/cohere/manually_maintained/__init__.py
1415
src/cohere/bedrock_client.py
1516
src/cohere/aws_client.py
1617
src/cohere/sagemaker_client.py

poetry.lock

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

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "cohere"
33

44
[tool.poetry]
55
name = "cohere"
6-
version = "5.20.0"
6+
version = "5.20.1"
77
description = ""
88
readme = "README.md"
99
authors = []
@@ -31,16 +31,16 @@ packages = [
3131
{ include = "cohere", from = "src"}
3232
]
3333

34-
[project.urls]
34+
[tool.poetry.urls]
3535
Repository = 'https://github.com/cohere-ai/cohere-python'
3636

3737
[tool.poetry.dependencies]
3838
python = "^3.9"
3939
fastavro = "^1.9.4"
4040
httpx = ">=0.21.2"
41-
httpx-sse = "0.4.0"
41+
httpx-sse = "^0.4.0"
4242
pydantic = ">= 1.9.2"
43-
pydantic-core = "^2.18.2"
43+
pydantic-core = ">=2.18.2"
4444
requests = "^2.0.0"
4545
tokenizers = ">=0.15,<1"
4646
types-requests = "^2.0.0"

0 commit comments

Comments
 (0)