import { i as resolveAgentModelPrimaryValue } from "./model-input-C697EEaR.js";
import { n as applyAgentDefaultModelPrimary } from "./provider-onboard-DM9HrT9Y.js";
import { t as OPENCODE_GO_DEFAULT_MODEL_REF } from "./onboard-Ccb3AVVa.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 };
