Merge branch 'arc53:main' into main

This commit is contained in:
Manish Madan
2025-05-15 01:20:23 +05:30
committed by GitHub
2 changed files with 32 additions and 6 deletions

View File

@@ -102,12 +102,7 @@ export default function NewAgent({ mode }: { mode: 'new' | 'edit' | 'draft' }) {
const isPublishable = () => {
return (
agent.name &&
agent.description &&
(agent.source || agent.retriever) &&
agent.chunks &&
agent.prompt_id &&
agent.agent_type
agent.name && agent.description && agent.prompt_id && agent.agent_type
);
};