@ax-llm/ax 16.0.5 → 16.0.6
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/index.cjs +1 -1
- package/index.cjs.map +1 -1
- package/index.d.cts +8 -8
- package/index.d.ts +8 -8
- package/index.global.js +1 -1
- package/index.global.js.map +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.d.cts
CHANGED
|
@@ -2863,15 +2863,10 @@ type AxAIAnthropicChatRequest = {
|
|
|
2863
2863
|
})[];
|
|
2864
2864
|
} | {
|
|
2865
2865
|
role: 'assistant';
|
|
2866
|
-
content: string | ({
|
|
2866
|
+
content: string | (({
|
|
2867
2867
|
type: 'text';
|
|
2868
2868
|
text: string;
|
|
2869
|
-
} | {
|
|
2870
|
-
type: 'tool_use';
|
|
2871
|
-
id: string;
|
|
2872
|
-
name: string;
|
|
2873
|
-
input: object;
|
|
2874
|
-
} | {
|
|
2869
|
+
} & AxAIAnthropicChatRequestCacheParam) | {
|
|
2875
2870
|
type: 'thinking';
|
|
2876
2871
|
thinking: string;
|
|
2877
2872
|
signature?: string;
|
|
@@ -2879,7 +2874,12 @@ type AxAIAnthropicChatRequest = {
|
|
|
2879
2874
|
type: 'redacted_thinking';
|
|
2880
2875
|
data: string;
|
|
2881
2876
|
signature?: string;
|
|
2882
|
-
}
|
|
2877
|
+
} | ({
|
|
2878
|
+
type: 'tool_use';
|
|
2879
|
+
id: string;
|
|
2880
|
+
name: string;
|
|
2881
|
+
input: object;
|
|
2882
|
+
} & AxAIAnthropicChatRequestCacheParam))[];
|
|
2883
2883
|
})[];
|
|
2884
2884
|
tools?: AxAIAnthropicRequestTool[];
|
|
2885
2885
|
tool_choice?: {
|
package/index.d.ts
CHANGED
|
@@ -2863,15 +2863,10 @@ type AxAIAnthropicChatRequest = {
|
|
|
2863
2863
|
})[];
|
|
2864
2864
|
} | {
|
|
2865
2865
|
role: 'assistant';
|
|
2866
|
-
content: string | ({
|
|
2866
|
+
content: string | (({
|
|
2867
2867
|
type: 'text';
|
|
2868
2868
|
text: string;
|
|
2869
|
-
} | {
|
|
2870
|
-
type: 'tool_use';
|
|
2871
|
-
id: string;
|
|
2872
|
-
name: string;
|
|
2873
|
-
input: object;
|
|
2874
|
-
} | {
|
|
2869
|
+
} & AxAIAnthropicChatRequestCacheParam) | {
|
|
2875
2870
|
type: 'thinking';
|
|
2876
2871
|
thinking: string;
|
|
2877
2872
|
signature?: string;
|
|
@@ -2879,7 +2874,12 @@ type AxAIAnthropicChatRequest = {
|
|
|
2879
2874
|
type: 'redacted_thinking';
|
|
2880
2875
|
data: string;
|
|
2881
2876
|
signature?: string;
|
|
2882
|
-
}
|
|
2877
|
+
} | ({
|
|
2878
|
+
type: 'tool_use';
|
|
2879
|
+
id: string;
|
|
2880
|
+
name: string;
|
|
2881
|
+
input: object;
|
|
2882
|
+
} & AxAIAnthropicChatRequestCacheParam))[];
|
|
2883
2883
|
})[];
|
|
2884
2884
|
tools?: AxAIAnthropicRequestTool[];
|
|
2885
2885
|
tool_choice?: {
|