File tree Expand file tree Collapse file tree 2 files changed +80
-0
lines changed
Expand file tree Collapse file tree 2 files changed +80
-0
lines changed Original file line number Diff line number Diff line change 1+ name : 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+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.issue.number || github.ref }}
13+ cancel-in-progress : false
14+
15+ jobs :
16+ lilbonk :
17+ if : github.event.sender.type != 'Bot' && contains(github.event.comment.body, '/lilbonk')
18+ runs-on : ubuntu-latest
19+ timeout-minutes : 30
20+ permissions :
21+ id-token : write
22+ contents : write
23+ issues : write
24+ pull-requests : write
25+ steps :
26+ - name : Checkout repository
27+ uses : actions/checkout@v4
28+ with :
29+ fetch-depth : 1
30+
31+ - name : Setup Node.js
32+ uses : actions/setup-node@v4
33+ with :
34+ node-version-file : " package.json"
35+ cache : " npm"
36+
37+ - name : Install dependencies
38+ run : npm ci
39+
40+ - name : Run Lil Bonk
41+ uses : ask-bonk/ask-bonk/github@main
42+ env :
43+ CLOUDFLARE_ACCOUNT_ID : ${{ secrets.CF_AI_GATEWAY_ACCOUNT_ID }}
44+ CLOUDFLARE_GATEWAY_ID : ${{ secrets.CF_AI_GATEWAY_NAME }}
45+ CLOUDFLARE_API_TOKEN : ${{ secrets.CF_AI_GATEWAY_TOKEN }}
46+ with :
47+ model : " cloudflare-ai-gateway/workers-ai/@cf/moonshotai/kimi-k2.5"
48+ agent : docs
49+ mentions : " /lilbonk"
50+ 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" : false ,
32+ },
33+ },
34+ },
35+ },
36+ },
737}
You can’t perform that action at this time.
0 commit comments