Skip to content

Commit 4f1ec00

Browse files
committed
test: fix updated cohere api endpoint
1 parent e321b0c commit 4f1ec00

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

tests/cassettes/test_cohere/test_cohere_async_chat.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ interactions:
1313
content-type:
1414
- application/json
1515
host:
16-
- api.cohere.ai
16+
- api.cohere.com
1717
user-agent:
1818
- python-httpx/0.25.2
1919
x-fern-language:
@@ -23,7 +23,7 @@ interactions:
2323
x-fern-sdk-version:
2424
- 5.2.5
2525
method: POST
26-
uri: https://api.cohere.ai/v1/chat
26+
uri: https://api.cohere.com/v1/chat
2727
response:
2828
body:
2929
string: '{"response_id":"85411c88-dcf9-4ed8-87f9-d32b2c06edfa","text":"Hello!

tests/cassettes/test_cohere/test_cohere_async_stream_chat.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ interactions:
1313
content-type:
1414
- application/json
1515
host:
16-
- api.cohere.ai
16+
- api.cohere.com
1717
user-agent:
1818
- python-httpx/0.25.2
1919
x-fern-language:
@@ -23,7 +23,7 @@ interactions:
2323
x-fern-sdk-version:
2424
- 5.2.5
2525
method: POST
26-
uri: https://api.cohere.ai/v1/chat
26+
uri: https://api.cohere.com/v1/chat
2727
response:
2828
body:
2929
string: '{"is_finished":false,"event_type":"stream-start","generation_id":"561ff9f4-1d4a-42e3-9992-ffa081b05e2a"}

tests/cassettes/test_cohere/test_cohere_chat.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ interactions:
1313
content-type:
1414
- application/json
1515
host:
16-
- api.cohere.ai
16+
- api.cohere.com
1717
user-agent:
1818
- python-httpx/0.25.2
1919
x-fern-language:
@@ -23,7 +23,7 @@ interactions:
2323
x-fern-sdk-version:
2424
- 5.2.5
2525
method: POST
26-
uri: https://api.cohere.ai/v1/chat
26+
uri: https://api.cohere.com/v1/chat
2727
response:
2828
body:
2929
string: '{"response_id":"ff65adda-6e98-4824-804f-1bb52c795146","text":"Hello!

tests/cassettes/test_cohere/test_cohere_stream_chat.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ interactions:
1313
content-type:
1414
- application/json
1515
host:
16-
- api.cohere.ai
16+
- api.cohere.com
1717
user-agent:
1818
- python-httpx/0.25.2
1919
x-fern-language:
@@ -23,7 +23,7 @@ interactions:
2323
x-fern-sdk-version:
2424
- 5.2.5
2525
method: POST
26-
uri: https://api.cohere.ai/v1/chat
26+
uri: https://api.cohere.com/v1/chat
2727
response:
2828
body:
2929
string: '{"is_finished":false,"event_type":"stream-start","generation_id":"94cdd35d-d52e-460b-8858-75a87848182b"}

0 commit comments

Comments
 (0)