Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,6 @@ const GetAutomaticRes: FC<IGetAutomaticResProps> = ({
<div>
<ModelParameterModal
popupClassName="!w-[520px]"
portalToFollowElemContentClassName="z-[1000]"
isAdvancedMode={true}
provider={model.provider}
completionParams={model.completion_params}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ export const GetCodeGeneratorResModal: FC<IGetCodeGeneratorResProps> = (
<div className="mb-4">
<ModelParameterModal
popupClassName="!w-[520px]"
portalToFollowElemContentClassName="z-[1000]"
isAdvancedMode={true}
provider={model.provider}
completionParams={model.completion_params}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,6 @@ const ConfigContent: FC<Props> = ({
<ModelParameterModal
isInWorkflow={isInWorkflow}
popupClassName="!w-[387px]"
portalToFollowElemContentClassName="!z-[1002]"
isAdvancedMode={true}
provider={model?.provider}
completionParams={model?.completion_params}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ import Trigger from './trigger'

export type ModelParameterModalProps = {
popupClassName?: string
portalToFollowElemContentClassName?: string
isAdvancedMode: boolean
modelId: string
provider: string
Expand All @@ -50,7 +49,6 @@ export type ModelParameterModalProps = {

const ModelParameterModal: FC<ModelParameterModalProps> = ({
popupClassName,
portalToFollowElemContentClassName,
isAdvancedMode,
modelId,
provider,
Expand Down Expand Up @@ -161,7 +159,6 @@ const ModelParameterModal: FC<ModelParameterModalProps> = ({
<PopoverContent
placement={isInWorkflow ? 'left' : (renderTrigger ? 'bottom-end' : 'left-start')}
sideOffset={4}
className={portalToFollowElemContentClassName}
popupClassName={cn(popupClassName, 'w-[400px] rounded-2xl')}
positionerProps={!renderTrigger ? { anchor: settingsIconRef } : undefined}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ const MetadataFilter = ({
</div>
<div className="mt-1 px-4">
<ModelParameterModal
portalToFollowElemContentClassName="z-[50]"
popupClassName="!w-[387px]"
isInWorkflow
isAdvancedMode={true}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ const PromptEditor: FC<PromptEditorProps> = ({
</div>
<ModelParameterModal
popupClassName="!w-[448px]"
portalToFollowElemContentClassName="z-[1000]"
isAdvancedMode={true}
provider={model.provider}
completionParams={model.completion_params}
Expand Down
Loading