Skip to content

Commit a8ce554

Browse files
put variant back
1 parent 5ba56f6 commit a8ce554

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/strategies/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export function getCurrentParams(
2828
const agent: string = userInfo.agent
2929
const providerId: string | undefined = userInfo.model.providerID
3030
const modelId: string | undefined = userInfo.model.modelID
31-
const variant: string | undefined = state.variant
31+
const variant: string | undefined = state.variant ?? userInfo.variant
3232

3333
return { providerId, modelId, agent, variant }
3434
}

0 commit comments

Comments
 (0)