@ax-llm/ax 14.0.19 → 14.0.20

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.d.cts CHANGED
@@ -155,7 +155,7 @@ declare class AxContentProcessingError extends Error {
155
155
  type AxAIInputModelList<TModel, TEmbedModel, TModelKey> = (AxAIModelListBase<TModelKey> & {
156
156
  isInternal?: boolean;
157
157
  /** Optional per-model config applied when this key is used (callers still override) */
158
- modelConfig?: AxModelConfig;
158
+ modelConfig?: Omit<AxModelConfig, 'model' | 'embedModel'>;
159
159
  /** Optional per-model options applied when this key is used (callers still override) */
160
160
  thinkingTokenBudget?: AxAIServiceOptions['thinkingTokenBudget'];
161
161
  showThoughts?: AxAIServiceOptions['showThoughts'];
@@ -2332,6 +2332,10 @@ declare enum AxAIAnthropicVertexModel {
2332
2332
  type AxAIAnthropicThinkingConfig = {
2333
2333
  type: 'enabled';
2334
2334
  budget_tokens: number;
2335
+ /** Optional: numeric budget hint used in config normalization */
2336
+ thinkingTokenBudget?: number;
2337
+ /** Optional: include provider thinking content in outputs */
2338
+ includeThoughts?: boolean;
2335
2339
  };
2336
2340
  type AxAIAnthropicThinkingTokenBudgetLevels = {
2337
2341
  minimal?: number;
package/index.d.ts CHANGED
@@ -155,7 +155,7 @@ declare class AxContentProcessingError extends Error {
155
155
  type AxAIInputModelList<TModel, TEmbedModel, TModelKey> = (AxAIModelListBase<TModelKey> & {
156
156
  isInternal?: boolean;
157
157
  /** Optional per-model config applied when this key is used (callers still override) */
158
- modelConfig?: AxModelConfig;
158
+ modelConfig?: Omit<AxModelConfig, 'model' | 'embedModel'>;
159
159
  /** Optional per-model options applied when this key is used (callers still override) */
160
160
  thinkingTokenBudget?: AxAIServiceOptions['thinkingTokenBudget'];
161
161
  showThoughts?: AxAIServiceOptions['showThoughts'];
@@ -2332,6 +2332,10 @@ declare enum AxAIAnthropicVertexModel {
2332
2332
  type AxAIAnthropicThinkingConfig = {
2333
2333
  type: 'enabled';
2334
2334
  budget_tokens: number;
2335
+ /** Optional: numeric budget hint used in config normalization */
2336
+ thinkingTokenBudget?: number;
2337
+ /** Optional: include provider thinking content in outputs */
2338
+ includeThoughts?: boolean;
2335
2339
  };
2336
2340
  type AxAIAnthropicThinkingTokenBudgetLevels = {
2337
2341
  minimal?: number;