@xenosystem/agent-sdk 0.10.0 → 0.10.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.
@@ -875,6 +875,7 @@ type ProviderStreamEvent = {
875
875
  interface LLMProviderRequestContext {
876
876
  systemPrompt: string;
877
877
  attemptId?: string;
878
+ quotaRemainingTokens?: number;
878
879
  onEvent?: (event: ProviderStreamEvent) => void | Promise<void>;
879
880
  }
880
881
  interface LLMProviderCapabilities {
@@ -1530,6 +1531,10 @@ declare class AgentLoop {
1530
1531
  meteredRequests: number;
1531
1532
  coverageComplete: boolean;
1532
1533
  };
1534
+ configureModelExecution(options: {
1535
+ provider?: LLMProvider;
1536
+ modelWorkAccounting?: ModelWorkAccounting;
1537
+ }): void;
1533
1538
  get lastTraceId(): string | null;
1534
1539
  get lastRunTermination(): AgentRunTermination | null;
1535
1540
  get queryState(): QueryState;
@@ -875,6 +875,7 @@ type ProviderStreamEvent = {
875
875
  interface LLMProviderRequestContext {
876
876
  systemPrompt: string;
877
877
  attemptId?: string;
878
+ quotaRemainingTokens?: number;
878
879
  onEvent?: (event: ProviderStreamEvent) => void | Promise<void>;
879
880
  }
880
881
  interface LLMProviderCapabilities {
@@ -1530,6 +1531,10 @@ declare class AgentLoop {
1530
1531
  meteredRequests: number;
1531
1532
  coverageComplete: boolean;
1532
1533
  };
1534
+ configureModelExecution(options: {
1535
+ provider?: LLMProvider;
1536
+ modelWorkAccounting?: ModelWorkAccounting;
1537
+ }): void;
1533
1538
  get lastTraceId(): string | null;
1534
1539
  get lastRunTermination(): AgentRunTermination | null;
1535
1540
  get queryState(): QueryState;