File tree Expand file tree Collapse file tree
java/src/main/java/com/github/copilot/rpc Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- /*
2- * Copyright (c) Microsoft Corporation. All rights reserved.
3- * Licensed under the MIT License.
4- */
1+ /*---------------------------------------------------------------------------------------------
2+ * Copyright (c) Microsoft Corporation. All rights reserved.
3+ *--------------------------------------------------------------------------------------------*/
54
65package com .github .copilot .rpc ;
76
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import type { CopilotRequestHandler } from "./copilotRequestHandler.js";
1313import type {
1414 ReasoningSummary ,
1515 SessionEvent as GeneratedSessionEvent ,
16+ SessionLimitsConfig as GeneratedSessionLimitsConfig ,
1617} from "./generated/session-events.js" ;
1718import type { CopilotSession } from "./session.js" ;
1819import type {
@@ -1581,12 +1582,7 @@ export interface MemoryConfiguration {
15811582/**
15821583 * AI credit budget configuration for a session.
15831584 */
1584- export interface SessionLimitsConfig {
1585- /**
1586- * Maximum AI credits available to the session.
1587- */
1588- maxAiCredits ?: number ;
1589- }
1585+ export type SessionLimitsConfig = GeneratedSessionLimitsConfig ;
15901586
15911587/**
15921588 * The `session.limits` API object for updating a session's AI credit budget.
You can’t perform that action at this time.
0 commit comments