mirror of https://github.com/kortix-ai/suna.git
Merge pull request #1679 from escapade-mckv/designer-agent-new
fix: frontend
This commit is contained in:
commit
2af41a9382
|
@ -11,6 +11,7 @@ import { AgentCard } from './custom-agents-page/agent-card';
|
||||||
import { KortixLogo } from '../sidebar/kortix-logo';
|
import { KortixLogo } from '../sidebar/kortix-logo';
|
||||||
import { DynamicIcon } from 'lucide-react/dynamic';
|
import { DynamicIcon } from 'lucide-react/dynamic';
|
||||||
import { AgentConfigurationDialog } from './agent-configuration-dialog';
|
import { AgentConfigurationDialog } from './agent-configuration-dialog';
|
||||||
|
import { isStagingMode } from '@/lib/config';
|
||||||
|
|
||||||
interface Agent {
|
interface Agent {
|
||||||
agent_id: string;
|
agent_id: string;
|
||||||
|
@ -165,7 +166,7 @@ const AgentModal: React.FC<AgentModalProps> = ({
|
||||||
Chat
|
Chat
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
{/* {!isSunaAgent && (
|
{!isSunaAgent && isStagingMode && (
|
||||||
<div className="pt-2">
|
<div className="pt-2">
|
||||||
{agent.is_public ? (
|
{agent.is_public ? (
|
||||||
<div className="space-y-2">
|
<div className="space-y-2">
|
||||||
|
@ -216,7 +217,7 @@ const AgentModal: React.FC<AgentModalProps> = ({
|
||||||
</Button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
)} */}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
|
|
Loading…
Reference in New Issue