mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 16:57:46 +00:00
fix(cli) - Move logging into CodeAssistServer (#5781)
Co-authored-by: Shi Shu <shii@google.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user