You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/cohere/v2/client.py
-8Lines changed: 0 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -157,8 +157,6 @@ def chat_stream(
157
157
158
158
**Note**: This parameter is only compatible with models [Command-r7b](https://docs.cohere.com/v2/docs/command-r7b) and newer.
159
159
160
-
**Note**: The same functionality can be achieved in `/v1/chat` using the `force_single_step` parameter. If `force_single_step=true`, this is equivalent to specifying `REQUIRED`. While if `force_single_step=true` and `tool_results` are passed, this is equivalent to specifying `NONE`.
161
-
162
160
thinking : typing.Optional[Thinking]
163
161
164
162
raw_prompting : typing.Optional[bool]
@@ -332,8 +330,6 @@ def chat(
332
330
333
331
**Note**: This parameter is only compatible with models [Command-r7b](https://docs.cohere.com/v2/docs/command-r7b) and newer.
334
332
335
-
**Note**: The same functionality can be achieved in `/v1/chat` using the `force_single_step` parameter. If `force_single_step=true`, this is equivalent to specifying `REQUIRED`. While if `force_single_step=true` and `tool_results` are passed, this is equivalent to specifying `NONE`.
336
-
337
333
thinking : typing.Optional[Thinking]
338
334
339
335
raw_prompting : typing.Optional[bool]
@@ -696,8 +692,6 @@ async def chat_stream(
696
692
697
693
**Note**: This parameter is only compatible with models [Command-r7b](https://docs.cohere.com/v2/docs/command-r7b) and newer.
698
694
699
-
**Note**: The same functionality can be achieved in `/v1/chat` using the `force_single_step` parameter. If `force_single_step=true`, this is equivalent to specifying `REQUIRED`. While if `force_single_step=true` and `tool_results` are passed, this is equivalent to specifying `NONE`.
700
-
701
695
thinking : typing.Optional[Thinking]
702
696
703
697
raw_prompting : typing.Optional[bool]
@@ -880,8 +874,6 @@ async def chat(
880
874
881
875
**Note**: This parameter is only compatible with models [Command-r7b](https://docs.cohere.com/v2/docs/command-r7b) and newer.
882
876
883
-
**Note**: The same functionality can be achieved in `/v1/chat` using the `force_single_step` parameter. If `force_single_step=true`, this is equivalent to specifying `REQUIRED`. While if `force_single_step=true` and `tool_results` are passed, this is equivalent to specifying `NONE`.
Copy file name to clipboardExpand all lines: src/cohere/v2/raw_client.py
-8Lines changed: 0 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -166,8 +166,6 @@ def chat_stream(
166
166
167
167
**Note**: This parameter is only compatible with models [Command-r7b](https://docs.cohere.com/v2/docs/command-r7b) and newer.
168
168
169
-
**Note**: The same functionality can be achieved in `/v1/chat` using the `force_single_step` parameter. If `force_single_step=true`, this is equivalent to specifying `REQUIRED`. While if `force_single_step=true` and `tool_results` are passed, this is equivalent to specifying `NONE`.
170
-
171
169
thinking : typing.Optional[Thinking]
172
170
173
171
raw_prompting : typing.Optional[bool]
@@ -506,8 +504,6 @@ def chat(
506
504
507
505
**Note**: This parameter is only compatible with models [Command-r7b](https://docs.cohere.com/v2/docs/command-r7b) and newer.
508
506
509
-
**Note**: The same functionality can be achieved in `/v1/chat` using the `force_single_step` parameter. If `force_single_step=true`, this is equivalent to specifying `REQUIRED`. While if `force_single_step=true` and `tool_results` are passed, this is equivalent to specifying `NONE`.
510
-
511
507
thinking : typing.Optional[Thinking]
512
508
513
509
raw_prompting : typing.Optional[bool]
@@ -1281,8 +1277,6 @@ async def chat_stream(
1281
1277
1282
1278
**Note**: This parameter is only compatible with models [Command-r7b](https://docs.cohere.com/v2/docs/command-r7b) and newer.
1283
1279
1284
-
**Note**: The same functionality can be achieved in `/v1/chat` using the `force_single_step` parameter. If `force_single_step=true`, this is equivalent to specifying `REQUIRED`. While if `force_single_step=true` and `tool_results` are passed, this is equivalent to specifying `NONE`.
1285
-
1286
1280
thinking : typing.Optional[Thinking]
1287
1281
1288
1282
raw_prompting : typing.Optional[bool]
@@ -1621,8 +1615,6 @@ async def chat(
1621
1615
1622
1616
**Note**: This parameter is only compatible with models [Command-r7b](https://docs.cohere.com/v2/docs/command-r7b) and newer.
1623
1617
1624
-
**Note**: The same functionality can be achieved in `/v1/chat` using the `force_single_step` parameter. If `force_single_step=true`, this is equivalent to specifying `REQUIRED`. While if `force_single_step=true` and `tool_results` are passed, this is equivalent to specifying `NONE`.
0 commit comments