29 lines
759 B
YAML
29 lines
759 B
YAML
name: shockbot
|
|
description: Ollama-powered code review bot for Gitea
|
|
author: ShockVPN
|
|
|
|
inputs:
|
|
prompt:
|
|
description: Review instruction sent to the model
|
|
required: false
|
|
default: "Review this pull request"
|
|
model:
|
|
description: Ollama model to use
|
|
required: false
|
|
default: "qwen3.6:35b"
|
|
context_window:
|
|
description: Max tokens per diff chunk
|
|
required: false
|
|
default: "4096"
|
|
max_tool_calls:
|
|
description: Max MCP tool calls the model can make per chunk
|
|
required: false
|
|
default: "10"
|
|
|
|
runs:
|
|
using: "node24"
|
|
main: "bootstrap.ts"
|
|
|
|
# BOT_TOKEN, OLLAMA_HOST, and GITEA_URL must be set as env vars by the consuming workflow.
|
|
# GITHUB_EVENT_NAME, GITHUB_EVENT_PATH, and GITHUB_REPOSITORY are set by the runner.
|