Skip to content

Commit bc16b8b

Browse files
Sync public snapshot from freebuff-private
Source: CodebuffAI/freebuff-private@c5eba154d3a96405d18300000c8e9ac2017086a9
1 parent 78e6784 commit bc16b8b

7 files changed

Lines changed: 51 additions & 53 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { moonshotModels } from '@codebuff/common/constants/model-config'
2+
3+
import { createBase2 } from './base2'
4+
5+
const definition = {
6+
...createBase2('free', {
7+
model: moonshotModels.kimiK27Code,
8+
}),
9+
id: 'base2-kimi-2-7-code',
10+
displayName: 'Buffy the Kimi K2.7 Code Orchestrator',
11+
}
12+
13+
export default definition

agents/types/agent-definition.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,7 @@ export type ModelName =
436436
| 'moonshotai/kimi-k2'
437437
| 'moonshotai/kimi-k2:nitro'
438438
| 'moonshotai/kimi-k2.6'
439+
| 'moonshotai/kimi-k2.7-code'
439440
| 'z-ai/glm-5'
440441
| 'z-ai/glm-5.1'
441442
| 'z-ai/glm-4.6'

bun.lock

Lines changed: 26 additions & 50 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

common/src/constants/freebuff-models.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
getZonedParts,
55
type ZonedDateParts,
66
} from '../util/zoned-time'
7-
import { mimoModels, minimaxModels } from './model-config'
7+
import { mimoModels, minimaxModels, moonshotModels } from './model-config'
88

99
/**
1010
* Models a freebuff user can pick between in the waiting-room model selector.
@@ -50,7 +50,7 @@ export const FREEBUFF_DEEPSEEK_V4_FLASH_MODEL_ID = 'deepseek/deepseek-v4-flash'
5050
* the free-mode allowlists — the CLI and web builder keep DeepSeek direct. */
5151
export const FREEBUFF_DEEPSEEK_V4_FLASH_FIREWORKS_MODEL_ID =
5252
'fireworks/deepseek-v4-flash'
53-
export const FREEBUFF_KIMI_MODEL_ID = 'moonshotai/kimi-k2.6'
53+
export const FREEBUFF_KIMI_MODEL_ID = moonshotModels.kimiK26
5454
/** Legacy: removed from the pickers on 2026-06-09 in favor of MiniMax M3, but
5555
* still server-supported so old clients keep working. Drop from
5656
* SUPPORTED_FREEBUFF_MODELS after ~2026-06-16. */

common/src/constants/model-config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,13 @@ export const minimaxModels = {
8585
} as const
8686
export type MiniMaxModel = (typeof minimaxModels)[keyof typeof minimaxModels]
8787

88+
export const moonshotModels = {
89+
kimiK26: 'moonshotai/kimi-k2.6',
90+
kimiK27Code: 'moonshotai/kimi-k2.7-code',
91+
} as const
92+
export type MoonshotModel =
93+
(typeof moonshotModels)[keyof typeof moonshotModels]
94+
8895
// Vertex uses "endpoint IDs" for finetuned models, which are just integers
8996
export const finetunedVertexModels = {
9097
ft_filepicker_003: '196166068534771712',

common/src/templates/initial-agents-dir/types/agent-definition.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,7 @@ export type ModelName =
436436
| 'moonshotai/kimi-k2'
437437
| 'moonshotai/kimi-k2:nitro'
438438
| 'moonshotai/kimi-k2.6'
439+
| 'moonshotai/kimi-k2.7-code'
439440
| 'z-ai/glm-5'
440441
| 'z-ai/glm-5.1'
441442
| 'z-ai/glm-4.6'

evals/buffbench/main-single-eval.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ async function main() {
77

88
await runBuffBench({
99
evalDataPaths: [path.join(__dirname, 'eval-codebuff.json')],
10-
agents: ['base2-free-deepseek-v4'],
10+
agents: ['base2-kimi-2-7-code'],
1111
taskIds: ['server-agent-validation'],
1212
saveTraces,
1313
})

0 commit comments

Comments
 (0)