File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed
Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -43,17 +43,9 @@ const FIREWORKS_DEPLOYMENT_MAP: Record<string, string> = {
4343 'z-ai/glm-5.1' : 'accounts/james-65d217/deployments/mjb4i7ea' ,
4444}
4545
46- /** Check if current time is within deployment hours (10am–8pm ET) */
47- export function isDeploymentHours ( now : Date = new Date ( ) ) : boolean {
48- const etHour = parseInt (
49- now . toLocaleString ( 'en-US' , {
50- timeZone : 'America/New_York' ,
51- hour : 'numeric' ,
52- hour12 : false ,
53- } ) ,
54- 10 ,
55- )
56- return etHour >= 10 && etHour < 20
46+ /** Check if current time is within deployment hours (always enabled) */
47+ export function isDeploymentHours ( _now : Date = new Date ( ) ) : boolean {
48+ return true
5749}
5850
5951/**
@@ -731,7 +723,7 @@ export async function createFireworksRequestWithFallback(params: {
731723 if ( shouldTryDeployment ) {
732724 logger . info (
733725 { model : originalModel , deploymentModel : deploymentModelId } ,
734- 'Trying Fireworks custom deployment (business hours) ' ,
726+ 'Trying Fireworks custom deployment' ,
735727 )
736728 const response = await createFireworksRequest ( {
737729 body,
You can’t perform that action at this time.
0 commit comments