We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccf4b9b commit 3555a5fCopy full SHA for 3555a5f
packages/core/src/codewhisperer/util/supplementalContext/supplementalContextUtil.ts
@@ -73,6 +73,12 @@ export async function fetchSupplementalContext(
73
})
74
}
75
76
+/**
77
+ * Requirement
78
+ * - Maximum 5 supplemental context.
79
+ * - Each chunk can't exceed 10240 characters
80
+ * - Sum of all chunks can't exceed 20480 characters
81
+ */
82
export function truncateSuppelementalContext(
83
context: CodeWhispererSupplementalContext
84
): CodeWhispererSupplementalContext {
0 commit comments