MCPcopy
hub / github.com/CodebuffAI/codebuff / isDeploymentHours

Function isDeploymentHours

web/src/llm-api/fireworks.ts:50–52  ·  view source on GitHub ↗
(now: Date = new Date())

Source from the content-addressed store, hash-verified

48
49/** Check if current time is within deployment hours: daily, 9am ET to 5pm PT. */
50export function isDeploymentHours(now: Date = new Date()): boolean {
51 return isFreebuffDeploymentHours(now)
52}
53
54/**
55 * In-memory cooldown to avoid repeatedly hitting a deployment that is scaling up.

Calls 1

Tested by

no test coverage detected