Skip to content

Commit 5056444

Browse files
committed
buffer
1 parent 5dc62c3 commit 5056444

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/github/copilotApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { hasEnterpriseUri } from './utils';
2020
const LEARN_MORE_URL = 'https://aka.ms/coding-agent-docs';
2121
const PREMIUM_REQUESTS_URL = 'https://docs.github.com/en/copilot/concepts/copilot-billing/understanding-and-managing-requests-in-copilot#what-are-premium-requests';
2222
// https://github.com/github/sweagentd/blob/59e7d9210ca3ebba029918387e525eea73cb1f4a/internal/problemstatement/problemstatement.go#L36-L53
23-
export const MAX_PROBLEM_STATEMENT_LENGTH = 30_000;
23+
export const MAX_PROBLEM_STATEMENT_LENGTH = 30_000 - 50; // 50 character buffer
2424
export interface RemoteAgentJobPayload {
2525
problem_statement: string;
2626
event_type: string;

0 commit comments

Comments
 (0)