Import-oriented reading
import { Response as LLMResponse } from "../llm";
import { Config } from "../config";
export function getResponse(cfg: Config): LLMResponse {
return { text: "hello", model: cfg.model };
}
The callsite looks clean because the boundary moved somewhere else.