export function toUrlSummaryPresentationResolution(resolution) {
    if (resolution.kind === "use-extracted") {
        return resolution;
    }
    return {
        kind: "summary",
        normalizedSummary: resolution.normalizedSummary,
        summaryEmitted: resolution.summaryEmitted,
        summaryFromCache: resolution.summaryFromCache,
        llm: {
            provider: resolution.modelMeta.provider,
            model: resolution.usedAttempt.userModelId,
            canonical: resolution.modelMeta.canonical,
            maxCompletionTokens: resolution.maxOutputTokensForCall,
        },
    };
}
//# sourceMappingURL=url-result.js.map