@cline/shared 0.0.90-nightly.1791340771 → 0.0.91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent.d.ts +3 -3
- package/package.json +1 -1
package/dist/agent.d.ts
CHANGED
|
@@ -203,10 +203,10 @@ export interface AgentRuntimePrepareTurnResult {
|
|
|
203
203
|
* left both surfacing as "Model returned empty response", which tells a
|
|
204
204
|
* user to retry something that cannot succeed.
|
|
205
205
|
*
|
|
206
|
-
*
|
|
207
|
-
*
|
|
206
|
+
* Missing or unrecognized provider finish reasons normalize to `unknown`: the
|
|
207
|
+
* response may be cut off and must not be treated as successful completion.
|
|
208
208
|
*/
|
|
209
|
-
export type AgentModelFinishReason = "stop" | "tool-calls" | "max-tokens" | "content-filter" | "aborted" | "error";
|
|
209
|
+
export type AgentModelFinishReason = "unknown" | "stop" | "tool-calls" | "max-tokens" | "content-filter" | "aborted" | "error";
|
|
210
210
|
/**
|
|
211
211
|
* Coarse classification of a provider error, derived from the raw provider
|
|
212
212
|
* error object before it is flattened into a display string. Shared by the
|