Skip to content

Commit b1d615d

Browse files
authored
chore: Swap flue kimi-k2.7 agents to deepseek-v4-flash-0731 (#33207)
1 parent a9454f3 commit b1d615d

7 files changed

Lines changed: 7 additions & 7 deletions

File tree

.flue/AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Code review and style-guide review fan out **one agent instance per changed file
7777
- **R2** (`DOCS_FLUE_BUCKET`) holds cross-run review state under `diffs/pr-<n>/`: `review-<headSha>.json` (`{ code: […], style: […], conventions: […] }`; a legacy bare array means style-only), `auto-review-count.json`, `ignore-review-limit.json`, `auto-review-disabled.json`. There is **no rendezvous namespace** in 2.0 — Workflow step durability replaced the R2 finalize lock, and the diff is staged in agent memory / delivered via tools rather than R2.
7878
- The bot keeps **one** comment per PR, located via the `BOT_COMMENT_MARKER` HTML comment. It embeds `reviewed-head-sha`, `reviewed-at`, and `status` markers used to detect prior state and to partition the human comments posted after it (`lib/code-review-state.ts`).
7979
- `lib/code-review-render.ts` renders the single comment under a `## Review` heading: a status line, a collapsed "Fix in your agent" prompt block (only when there is an active finding), then `### Code Review`, `### Conventions`, `### Style Guide Review`, an "Acknowledged by author" block, and a Commands block. Findings are tables only; there are no inline review comments. It also renders the `/rebase` status line (`renderRebaseStatusUpdate`).
80-
- **Models**: specialist and reconciliation model calls use `cloudflare/@cf/moonshotai/kimi-k2.7-code`, except the conventions reviewer which uses `cloudflare/@cf/deepseek-ai/deepseek-v4-flash-0731` (a lighter model sufficient for PR-metadata checks). The validation step uses `cloudflare/@cf/zai-org/glm-5.2`.
80+
- **Models**: all model calls use `cloudflare/@cf/deepseek-ai/deepseek-v4-flash-0731`. The validation step uses `cloudflare/@cf/zai-org/glm-5.2`.
8181
- **Review mode** (`DOCS_FLUE_REVIEW_MODE`): `log` (default) renders and logs the comment without mutating GitHub; `comment` posts/updates the bot comment.
8282

8383
### Slash commands (codeowner-only, commented on a PR)

.flue/agents/code-review-file.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ import type {
4545
CodeReviewPullRequest,
4646
} from "../lib/code-review-files";
4747

48-
const MODEL = "cloudflare/@cf/moonshotai/kimi-k2.7-code";
48+
const MODEL = "cloudflare/@cf/deepseek-ai/deepseek-v4-flash-0731";
4949

5050
/** Name of the data part the structured result is written to. */
5151
export const CODE_REVIEW_FILE_DATA = "code_review_file";

.flue/agents/dependabot-reviewer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ import {
4646
import { makeDependabotReviewTools } from "../lib/github-repo-tools";
4747
import { getGitHubToken } from "../lib/token-provider";
4848

49-
const MODEL = "cloudflare/@cf/moonshotai/kimi-k2.7-code";
49+
const MODEL = "cloudflare/@cf/deepseek-ai/deepseek-v4-flash-0731";
5050

5151
/** Name of the data part the structured result is written to. */
5252
export const DEPENDABOT_REVIEW_DATA = "dependabot_review";

.flue/agents/rebase-conflict-resolver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ import {
4747
import { makeRebaseConflictTools } from "../lib/github-repo-tools";
4848
import { getGitHubToken } from "../lib/token-provider";
4949

50-
const MODEL = "cloudflare/@cf/moonshotai/kimi-k2.7-code";
50+
const MODEL = "cloudflare/@cf/deepseek-ai/deepseek-v4-flash-0731";
5151

5252
/** Name of the data part the structured result is written to. */
5353
export const CONFLICT_RESOLUTION_DATA = "conflict_resolution";

.flue/agents/reconcile-reviewer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ import {
4444
} from "../lib/code-review-render";
4545
import type { DiffMode } from "../lib/code-review-state";
4646

47-
const MODEL = "cloudflare/@cf/moonshotai/kimi-k2.7-code";
47+
const MODEL = "cloudflare/@cf/deepseek-ai/deepseek-v4-flash-0731";
4848

4949
/** Name of the data part the structured result is written to. */
5050
export const RECONCILE_DATA = "reconcile_result";

.flue/agents/spam-filter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import spamSkill from "../.agents/skills/spam-and-off-topic-filter/SKILL.md";
3232
import { useBotRole } from "../lib/bot-role";
3333
import { SpamVerdictSchema } from "../lib/spam-filter";
3434

35-
const MODEL = "cloudflare/@cf/moonshotai/kimi-k2.7-code";
35+
const MODEL = "cloudflare/@cf/deepseek-ai/deepseek-v4-flash-0731";
3636

3737
/** Name of the data part the structured verdict is written to. */
3838
export const SPAM_VERDICT_DATA = "spam_verdict";

.flue/agents/style-guide-file.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import { getGitHubToken } from "../lib/token-provider";
4141
import type { AddedLine } from "../lib/code-review-files";
4242
import type { StyleGuidePullRequest } from "../lib/style-guide-files";
4343

44-
const MODEL = "cloudflare/@cf/moonshotai/kimi-k2.7-code";
44+
const MODEL = "cloudflare/@cf/deepseek-ai/deepseek-v4-flash-0731";
4545

4646
/** Name of the data part the structured result is written to. */
4747
export const STYLE_GUIDE_FILE_DATA = "style_guide_file";

0 commit comments

Comments
 (0)