pendra 0.18.0 → 0.18.1
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/index.d.mts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -73,6 +73,15 @@ interface ChatCompletionMessageParam {
|
|
|
73
73
|
tool_call_id?: string;
|
|
74
74
|
/** On an assistant message you replay back, the calls it made. */
|
|
75
75
|
tool_calls?: ChatCompletionMessageToolCall[];
|
|
76
|
+
/**
|
|
77
|
+
* On an assistant message you replay back, the reasoning it arrived with.
|
|
78
|
+
* Models that use earlier thinking keep track of their plan with it across
|
|
79
|
+
* tool calls; others ignore it. Accepts `null` so a returned
|
|
80
|
+
* {@link ChatCompletionMessage} can be appended to `messages` as it is.
|
|
81
|
+
*/
|
|
82
|
+
reasoning_content?: string | null;
|
|
83
|
+
/** Alias of {@link ChatCompletionMessageParam.reasoning_content}; that one wins if both are set. */
|
|
84
|
+
reasoning?: string | null;
|
|
76
85
|
}
|
|
77
86
|
interface Choice {
|
|
78
87
|
index: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -73,6 +73,15 @@ interface ChatCompletionMessageParam {
|
|
|
73
73
|
tool_call_id?: string;
|
|
74
74
|
/** On an assistant message you replay back, the calls it made. */
|
|
75
75
|
tool_calls?: ChatCompletionMessageToolCall[];
|
|
76
|
+
/**
|
|
77
|
+
* On an assistant message you replay back, the reasoning it arrived with.
|
|
78
|
+
* Models that use earlier thinking keep track of their plan with it across
|
|
79
|
+
* tool calls; others ignore it. Accepts `null` so a returned
|
|
80
|
+
* {@link ChatCompletionMessage} can be appended to `messages` as it is.
|
|
81
|
+
*/
|
|
82
|
+
reasoning_content?: string | null;
|
|
83
|
+
/** Alias of {@link ChatCompletionMessageParam.reasoning_content}; that one wins if both are set. */
|
|
84
|
+
reasoning?: string | null;
|
|
76
85
|
}
|
|
77
86
|
interface Choice {
|
|
78
87
|
index: number;
|