mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-21 19:00:13 +01:00
chore: Update docker, Minor Styling fix (#528)
* chore(docker): add .env and **/.env to .dockerignore refactor(docker): remove unnecessary .env file copy and removal in Dockerfile * style(AgentSettings): adjust Switch placement fix(EditPresetDialog): correctly show functions setting in preset
This commit is contained in:
parent
9778e73087
commit
f1f33de4db
4 changed files with 5 additions and 8 deletions
|
|
@ -238,7 +238,7 @@ const EditPresetDialog = ({ open, onOpenChange, preset: _preset, title }) => {
|
|||
)}
|
||||
{preset?.endpoint === 'gptPlugins' && showAgentSettings && (
|
||||
<AgentSettings
|
||||
agent={preset.agent}
|
||||
agent={preset.agentOptions.agent}
|
||||
skipCompletion={preset.agentOptions.skipCompletion}
|
||||
model={preset.agentOptions.model}
|
||||
endpoint={preset.agentOptions.endpoint}
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ function Settings(props) {
|
|||
</div>
|
||||
<div className="grid w-full items-center gap-2 grid-cols-2">
|
||||
<HoverCard openDelay={500}>
|
||||
<HoverCardTrigger className='w-1/2'>
|
||||
<HoverCardTrigger className='w-[100px]'>
|
||||
<label
|
||||
htmlFor="functions-agent"
|
||||
className="text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 dark:text-gray-50"
|
||||
|
|
@ -77,7 +77,7 @@ function Settings(props) {
|
|||
<OptionHover type="func" side="right" />
|
||||
</HoverCard>
|
||||
<HoverCard openDelay={500}>
|
||||
<HoverCardTrigger className='w-1/2 ml-[-60px]'>
|
||||
<HoverCardTrigger className='w-[100px] ml-[-60px]'>
|
||||
<label
|
||||
htmlFor="skip-completion"
|
||||
className="text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 dark:text-gray-50"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue