import { i as resolveAgentModelPrimaryValue } from "./model-input-ChW9XXsQ.js";
import { n as applyAgentDefaultModelPrimary } from "./provider-onboard-B-JDt5tm.js";
import { t as OPENCODE_GO_DEFAULT_MODEL_REF } from "./onboard-BtU_ph1d.js";
//#region extensions/opencode-go/api.ts
function applyOpencodeGoModelDefault(cfg) {
	if (resolveAgentModelPrimaryValue(cfg.agents?.defaults?.model) === "opencode-go/kimi-k2.6") return {
		next: cfg,
		changed: false
	};
	return {
		next: applyAgentDefaultModelPrimary(cfg, OPENCODE_GO_DEFAULT_MODEL_REF),
		changed: true
	};
}
//#endregion
export { applyOpencodeGoModelDefault as t };
