diff options
| author | N. Taylor Mullen <[email protected]> | 2025-07-27 19:28:20 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-27 19:28:20 -0700 |
| commit | bd850704113c415d107732d6230f72b3699e98c6 (patch) | |
| tree | 6f4c50b89edf59d5fdda39a402228f9bbc549f3f /packages/core/src/code_assist/server.ts | |
| parent | 9ed351260cc64d955580440da866098e6e5bddfb (diff) | |
Revert "Propagate user_prompt_id to GenerateConentRequest for logging" (#5007)
Diffstat (limited to 'packages/core/src/code_assist/server.ts')
| -rw-r--r-- | packages/core/src/code_assist/server.ts | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/packages/core/src/code_assist/server.ts b/packages/core/src/code_assist/server.ts index 08339bdc..7af643f7 100644 --- a/packages/core/src/code_assist/server.ts +++ b/packages/core/src/code_assist/server.ts @@ -53,16 +53,10 @@ export class CodeAssistServer implements ContentGenerator { async generateContentStream( req: GenerateContentParameters, - userPromptId: string, ): Promise<AsyncGenerator<GenerateContentResponse>> { const resps = await this.requestStreamingPost<CaGenerateContentResponse>( 'streamGenerateContent', - toGenerateContentRequest( - req, - userPromptId, - this.projectId, - this.sessionId, - ), + toGenerateContentRequest(req, this.projectId, this.sessionId), req.config?.abortSignal, ); return (async function* (): AsyncGenerator<GenerateContentResponse> { @@ -74,16 +68,10 @@ export class CodeAssistServer implements ContentGenerator { async generateContent( req: GenerateContentParameters, - userPromptId: string, ): Promise<GenerateContentResponse> { const resp = await this.requestPost<CaGenerateContentResponse>( 'generateContent', - toGenerateContentRequest( - req, - userPromptId, - this.projectId, - this.sessionId, - ), + toGenerateContentRequest(req, this.projectId, this.sessionId), req.config?.abortSignal, ); return fromGenerateContentResponse(resp); |
