File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ export const REBUILD_INFERENCE_INVOCATION_TIMEOUT_MS = 100_000;
4949export const READINESS_INFERENCE_INVOCATION_TIMEOUT_MS = 30_000 ;
5050const INFERENCE_INVOCATION_MAX_RESPONSE_BYTES = 64 * 1024 ;
5151
52+ /** Build the protocol-specific request used to verify sandbox inference. */
5253function buildProbeRequest ( input : SandboxInferenceInvocationInput ) : {
5354 endpoint : string ;
5455 headers : string [ ] ;
Original file line number Diff line number Diff line change @@ -106,6 +106,7 @@ function useStatusProbeTiming(argv: string[]): string[] {
106106 ) ;
107107}
108108
109+ /** Set the visible-output budget on a generated chat-completions probe. */
109110function capStatusProbeOutput (
110111 argv : string [ ] ,
111112 maxTokens : number = HEALTH_PROBE_MAX_TOKENS ,
@@ -123,6 +124,7 @@ function capStatusProbeOutput(
123124 return next ;
124125}
125126
127+ /** Build curl arguments for an authenticated chat-completions health probe. */
126128function buildChatCompletionsStatusProbeCurlArgs (
127129 model : string ,
128130 endpoint : string ,
Original file line number Diff line number Diff line change 2929 */
3030export const MIN_PROBE_REPLY_TOKENS = 16 ;
3131
32- // Gemini 2.5 can spend part of the output budget on reasoning before it emits
33- // visible content. Match the established compatible-endpoint smoke budget so
34- // a healthy route has room to return the requested acknowledgement (#10260).
32+ /**
33+ * Gemini probe budget with room for reasoning before visible content.
34+ * Matches the established compatible-endpoint smoke budget (#10260).
35+ */
3536export const GEMINI_PROBE_REPLY_TOKENS = 256 ;
3637
3738// Matched by prefix rather than exact id: Azure OpenAI deployments append
You can’t perform that action at this time.
0 commit comments