GHHG10/CodeServer / opencode /packages /core /src /github-copilot /chat /get-response-metadata.ts
GHHG10's picture
download
raw
327 Bytes
export function getResponseMetadata({
id,
model,
created,
}: {
id?: string | undefined | null
created?: number | undefined | null
model?: string | undefined | null
}) {
return {
id: id ?? undefined,
modelId: model ?? undefined,
timestamp: created != null ? new Date(created * 1000) : undefined,
}
}

Xet Storage Details

Size:
327 Bytes
·
Xet hash:
d7cd3c669ad7c1fa99fb85c638317e224ea800ea977bc7d34fddbad33394df7b

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.