位於 D:\work\momo\code\ai-auto\deepseek_powershell_deepseek1.ps1:45 字元:33 + Write-Host "Loaded text attachment: $($f.Name)" - ... + ~~~~~~ 運算式或陳述式中有未預期的 'Loaded' 語彙基元。 位於 D:\work\momo\code\ai-auto\deepseek_powershell_deepseek1.ps1:50 字元:73 + ... $attachmentsContent += "`n`n### File: $($f.Name) (Binary, not rea ... + ~ 參數清單中遺失引數。 位於 D:\work\momo\code\ai-auto\deepseek_powershell_deepseek1.ps1:73 字元:16 + $apiUrl = "https://api.deepseek.com/chat/completions" + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 運算式或陳述式中有未預期的 'https://api.deepseek.com/chat/completions" $headers = @{ "Authorization" = "Bearer' 語彙基元。 位於 D:\work\momo\code\ai-auto\deepseek_powershell_deepseek1.ps1:108 字元:36 + # $env:DEEPSEEK_API_KEY = "sk-xxxxx" + ~ 字串遺漏結尾字元: "。 位於 D:\work\momo\code\ai-auto\deepseek_powershell_deepseek1.ps1:42 字元:21 + try { + ~ 陳述式區塊或類型定義中缺少 '}'。 位於 D:\work\momo\code\ai-auto\deepseek_powershell_deepseek1.ps1:109 字元:36 + # Analyze-RedmineIssue -IssueId 123 + ~ Try 陳述式遺漏 Catch 區塊或 Finally 區塊。 位於 D:\work\momo\code\ai-auto\deepseek_powershell_deepseek1.ps1:41 字元:103 + ... md','.json','.xml','.csv','.log','.ps1','.py','.js','.html','.css') { + ~ 陳述式區塊或類型定義中缺少 '}'。 位於 D:\work\momo\code\ai-auto\deepseek_powershell_deepseek1.ps1:39 字元:32 + foreach ($f in $files) { + ~ 陳述式區塊或類型定義中缺少 '}'。 位於 D:\work\momo\code\ai-auto\deepseek_powershell_deepseek1.ps1:37 字元:36 + if (Test-Path $attachmentsDir) { + ~ 陳述式區塊或類型定義中缺少 '}'。 位於 D:\work\momo\code\ai-auto\deepseek_powershell_deepseek1.ps1:3 字元:31 + function Analyze-RedmineIssue { + ~ 陳述式區塊或類型定義中缺少 '}'。 + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException + FullyQualifiedErrorId : UnexpectedToken