Skip to content

Commit f843d46

Browse files
committed
Add skills code review agent example
1 parent cbb6979 commit f843d46

64 files changed

Lines changed: 9093 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Code Review Agent — LLM 配置样例(复制为 .env 后按需修改)
2+
#
3+
# 所有变量均为可选;缺省即降级为 FakeLlm(不调用任何模型)。
4+
# 支持任意 OpenAI 兼容端点:OpenAI / Azure OpenAI / 本地 vLLM / 内部 LLM 网关。
5+
6+
# 是否启用真实 LLM 二次研判(也可通过 CLI --enable-llm 覆盖)
7+
# 取值:true | false
8+
LLM_ENABLED=false
9+
10+
# 供应商标识(仅用于记录/诊断,不影响端点选择)
11+
LLM_PROVIDER=openai
12+
13+
# 真实模型 API Key;留空 = 禁用真实模型
14+
LLM_API_KEY=
15+
16+
# OpenAI 兼容的 Chat Completions 端点基址
17+
# OpenAI: https://api.openai.com/v1
18+
# Azure: https://<res>.openai.azure.com/openai
19+
# 本地 vLLM: http://localhost:8000/v1
20+
LLM_BASE_URL=https://api.openai.com/v1
21+
22+
# 模型名(对应端点上的 deployment / model id)
23+
LLM_MODEL=gpt-4o-mini
24+
25+
# 采样温度(越低越确定,适合判定任务)
26+
LLM_TEMPERATURE=0.1
27+
28+
# 单次响应最大 token 数
29+
LLM_MAX_TOKENS=1024
30+
31+
# 请求超时(秒)
32+
LLM_TIMEOUT=30

0 commit comments

Comments
 (0)