fix(cli) - Move logging into CodeAssistServer (#5781)

Co-authored-by: Shi Shu <shii@google.com>
This commit is contained in:
shishu314
2025-08-07 19:58:18 -04:00
committed by GitHub
parent 60362e0329
commit bae922a632
13 changed files with 195 additions and 82 deletions

View File

@@ -157,7 +157,7 @@ function toVertexGenerateContentRequest(
};
}
function toContents(contents: ContentListUnion): Content[] {
export function toContents(contents: ContentListUnion): Content[] {
if (Array.isArray(contents)) {
// it's a Content[] or a PartsUnion[]
return contents.map(toContent);