File tree Expand file tree Collapse file tree 2 files changed +81
-0
lines changed
Expand file tree Collapse file tree 2 files changed +81
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Lil Bonk
2+
3+ on :
4+ issue_comment :
5+ types : [created]
6+ pull_request_review_comment :
7+ types : [created]
8+ pull_request_review :
9+ types : [submitted]
10+
11+ concurrency :
12+ # intentionally hardcoded so that all Bonk workflows coexist peacefully
13+ group : bonk-${{ github.event.pull_request.number || github.event.issue.number || github.ref }}
14+ cancel-in-progress : false
15+
16+ jobs :
17+ lilbonk :
18+ if : github.event.sender.type != 'Bot' && contains(github.event.comment.body, '/lilbonk')
19+ runs-on : ubuntu-latest
20+ timeout-minutes : 30
21+ permissions :
22+ id-token : write
23+ contents : write
24+ issues : write
25+ pull-requests : write
26+ steps :
27+ - name : Checkout repository
28+ uses : actions/checkout@v4
29+ with :
30+ fetch-depth : 1
31+
32+ - name : Setup Node.js
33+ uses : actions/setup-node@v4
34+ with :
35+ node-version-file : " package.json"
36+ cache : " npm"
37+
38+ - name : Install dependencies
39+ run : npm ci
40+
41+ - name : Run Lil Bonk
42+ uses : ask-bonk/ask-bonk/github@main
43+ env :
44+ CLOUDFLARE_ACCOUNT_ID : ${{ secrets.CF_AI_GATEWAY_ACCOUNT_ID }}
45+ CLOUDFLARE_GATEWAY_ID : ${{ secrets.CF_AI_GATEWAY_NAME }}
46+ CLOUDFLARE_API_TOKEN : ${{ secrets.CF_AI_GATEWAY_TOKEN }}
47+ with :
48+ model : " cloudflare-ai-gateway/workers-ai/@cf/moonshotai/kimi-k2.5"
49+ agent : docs
50+ mentions : " /lilbonk"
51+ permissions : CODEOWNERS
Original file line number Diff line number Diff line change 44 "experimental" : {
55 "continue_loop_on_deny" : true ,
66 },
7+ "provider" : {
8+ "cloudflare-ai-gateway" : {
9+ "models" : {
10+ "workers-ai/@cf/moonshotai/kimi-k2.5" : {
11+ "name" : " Kimi K2.5" ,
12+ "attachment" : true ,
13+ "reasoning" : true ,
14+ "tool_call" : true ,
15+ "temperature" : true ,
16+ "interleaved" : {
17+ "field" : " reasoning_content" ,
18+ },
19+ "modalities" : {
20+ "input" : [" text" , " image" ],
21+ "output" : [" text" ],
22+ },
23+ "limit" : {
24+ "context" : 256000 ,
25+ "output" : 64000 ,
26+ },
27+ "options" : {
28+ "temperature" : 1.0 ,
29+ "top_p" : 0.95 ,
30+ "max_tokens" : 64000 ,
31+ "parallel_tool_calls" : true ,
32+ },
33+ },
34+ },
35+ },
36+ },
737}
You can’t perform that action at this time.
0 commit comments