Skip to content

Commit f76cd7d

Browse files
szabta89Copilot
andcommitted
fix: address session limits review feedback
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent d8b8fe0 commit f76cd7d

2 files changed

Lines changed: 5 additions & 10 deletions

File tree

java/src/main/java/com/github/copilot/rpc/SessionLimitsConfig.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
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

65
package com.github.copilot.rpc;
76

nodejs/src/types.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import type { CopilotRequestHandler } from "./copilotRequestHandler.js";
1313
import type {
1414
ReasoningSummary,
1515
SessionEvent as GeneratedSessionEvent,
16+
SessionLimitsConfig as GeneratedSessionLimitsConfig,
1617
} from "./generated/session-events.js";
1718
import type { CopilotSession } from "./session.js";
1819
import 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.

0 commit comments

Comments
 (0)