MCPcopy Index your code
hub / github.com/anomalyco/opencode / released

Function released

packages/core/src/plugin/models-dev.ts:8–11  ·  view source on GitHub ↗
(date: string)

Source from the content-addressed store, hash-verified

6import { ProviderV2 } from "../provider"
7
8function released(date: string) {
9 const time = Date.parse(date)
10 return Number.isFinite(time) ? time : 0
11}
12
13function cost(input: ModelsDev.Model["cost"]): ModelV2Info["cost"] {
14 const base = {

Callers 1

applyModelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected