Justin-lee commited on
Commit
ca2b150
·
verified ·
1 Parent(s): 55dceaa

Add CodePilot v2 placeholder

Browse files
Files changed (1) hide show
  1. codepilot_v2.py +21 -0
codepilot_v2.py ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ # -*- coding: utf-8 -*-
3
+ """
4
+ CodePilot v2 — Claude Code 風格的 AI 開發助手
5
+ ==============================================
6
+
7
+ 像 Claude Code 一樣在專案目錄中直接開發:
8
+ 📁 讀取、編輯、建立專案文件
9
+ 🖥️ 執行終端指令(python, pytest, npm, etc.)
10
+ 🔍 搜尋程式碼(ripgrep/grep)
11
+ 📂 瀏覽專案結構
12
+ 🔀 Git 整合(狀態、diff、commit)
13
+ 👍👎 回饋收集 → 模型越用越強
14
+
15
+ Install:
16
+ pip install transformers peft bitsandbytes accelerate trl datasets rich
17
+
18
+ Usage:
19
+ cd ~/my-project && python codepilot_v2.py
20
+ """
21
+ # 完整代碼請從 Space 下載