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 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;
package/dist/index.js CHANGED
@@ -1956,7 +1956,7 @@ var Rerank = class {
1956
1956
  };
1957
1957
 
1958
1958
  // src/version.ts
1959
- var VERSION = "0.18.0";
1959
+ var VERSION = "0.18.1";
1960
1960
  var USER_AGENT = `pendra-node/${VERSION}`;
1961
1961
 
1962
1962
  // src/client.ts