🔧 fix: Agent Resource Form, Convo Menu Style, Ensure Draft Clears on Submission (#6925)

*  style: Adjust z-index for popover UI and update className in ConvoOptions

*  feat: Add 'spec' field to conversation query selection

* 🛠️ fix: add back conversationId to use Constants.PENDING_CONVO in useSSE hook on submission to allow text drafts to clear

*  chore: add .clineignore to .gitignore for Cline configuration

*  refactor: memoize FileSearchCheckbox component for performance optimization

* fix: agent resource management by adding tool_resource to agent's tools if missing
This commit is contained in:
Danny Avila 2025-04-16 18:14:34 -04:00 committed by GitHub
parent 6edd93f99e
commit 851938e7a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 69 additions and 8 deletions

View file

@ -1,3 +1,4 @@
import { memo } from 'react';
import { AgentCapabilities } from 'librechat-data-provider';
import { useFormContext, Controller } from 'react-hook-form';
import type { AgentForm } from '~/common';
@ -12,7 +13,7 @@ import { CircleHelpIcon } from '~/components/svg';
import { useLocalize } from '~/hooks';
import { ESide } from '~/common';
export default function FileSearchCheckbox() {
function FileSearchCheckbox() {
const localize = useLocalize();
const methods = useFormContext<AgentForm>();
const { control, setValue, getValues } = methods;
@ -67,3 +68,5 @@ export default function FileSearchCheckbox() {
</>
);
}
export default memo(FileSearchCheckbox);