Skip to content

Commit

Permalink
fix: region select on us-west-1 disabling form issue fixed (#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
abdul-fission authored Feb 14, 2025
1 parent 9601455 commit ec4c38e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/app/components/Project/Create/RetrievalStrategyStep.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const state = reactive<ProjectCreateRetrievalStrategy>({
n_shot_prompts: modelValue.value.n_shot_prompts || undefined,
n_shot_prompt_guide: modelValue.value.n_shot_prompt_guide || undefined,
temp_retrieval_llm: modelValue.value.temp_retrieval_llm || undefined,
rerank_model_id: props.region === 'us-east-1' ? ['none'] : modelValue.value.rerank_model_id || undefined,
rerank_model_id: (props.region === 'us-east-1' || props.kbModel === 'none') ? ['none'] : modelValue.value.rerank_model_id || undefined,
// region: modelValue.value.region || props.region
})
Expand Down

0 comments on commit ec4c38e

Please sign in to comment.