Reduce output for LLMs
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 35/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- angular, typescript
- 領域
- build-system, cli
研究方向
從 issue 中描述的 build 指令和 chunk 統計輸出開始;驗證 --no-progress 是否會影響它。判斷預期的介面是 LLM 環境變數還是 flag,然後確認 build 輸出會省略 chunk 統計,同時保留 build 結果。
由索引模型根據 Issue 內容生成。
描述
Command
build
Description
Every time Angular builds, it prints chunk stats:
Initial chunk files | Names | Raw size | Estimated transfer size
chunk-R3S5GO54.js | - | 269.50 kB | 68.58 kB
chunk-NI535PZY.js | - | 183.41 kB | 55.12 kB
...
If you are using an LLM, this unnecessarily reduces available context and eats up tokens.
I couldn't find a flag to disable this output.
Describe the solution you'd like
Inspired by this post, we could support an LLM env variable that would drastically reduce the output.
Alternatively a flag to remove stats would be nice.
Describe alternatives you've considered
--no-progress, but it doesn't help.
- 主要語言
- TypeScript
- 星號
- 27k
- 分支
- 11.8k
- 平均合併
- 16 小時 35 分鐘
- 30 天內合併 PR
- 176
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
angular/angular-cli 的其他 Issue
-
area: @angular/build gemini-triaged
難度 2/5 1-3 小時 新手友好度 74/100
angular/angular-cli#33955 ·
-
area: @angular/cli gemini-triaged
難度 2/5 1-3 小時 新手友好度 72/100
angular/angular-cli#33055 · 1 則留言 · 3 個 reaction ·
-
area: @angular/build gemini-triaged
難度 4/5 3-5 天 新手友好度 72/100
angular/angular-cli#34137 ·
-
angular/build:library area: @angular/build gemini-triaged
angular/angular-cli#34131 · 已指派 1 人 ·
-
angular/build:library area: @angular/build gemini-triaged
angular/angular-cli#34130 · 已指派 1 人 ·
查看 angular/angular-cli 的全部 Issue
相似的 Issue
-
S: triage
難度 1/5 1 小時以內 新手友好度 85/100
-
難度 2/5 1-3 小時 新手友好度 76/100
-
fix(errors): EHOSTUNREACH from a happy-eyeballs connect is reported as a resolver error (STAMP-80) 未關閉
難度 2/5 1-3 小時 新手友好度 90/100
snapshot-labs/stamp#666 ·
-
bug
難度 2/5 1-3 小時 新手友好度 75/100
GauravKarakoti/SecureFlow#1070 · 1 則留言 ·
-
feature:Languages/Translations good first issue ready Web
難度 2/5 1-3 小時 新手友好度 72/100
digitalfabrik/integreat-app#4394 ·