mirror of https://github.com/kortix-ai/suna.git
wip
This commit is contained in:
parent
40cade6d54
commit
cff0348f9e
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
# @generated expo-cli sync-2b81b286409207a5da26e14c78851eb30d8ccbdb
|
||||||
|
# The following patterns were generated by expo-cli
|
||||||
|
|
||||||
|
expo-env.d.ts
|
||||||
|
# @end expo-cli
|
|
@ -164,8 +164,7 @@ class XMLToolParser:
|
||||||
|
|
||||||
# Return as string
|
# Return as string
|
||||||
return value
|
return value
|
||||||
|
|
||||||
|
|
||||||
def format_tool_call(self, function_name: str, parameters: Dict[str, Any]) -> str:
|
def format_tool_call(self, function_name: str, parameters: Dict[str, Any]) -> str:
|
||||||
"""
|
"""
|
||||||
Format a tool call in the XML format.
|
Format a tool call in the XML format.
|
||||||
|
|
|
@ -179,10 +179,6 @@ api_router.include_router(triggers_api.router)
|
||||||
from pipedream import api as pipedream_api
|
from pipedream import api as pipedream_api
|
||||||
api_router.include_router(pipedream_api.router)
|
api_router.include_router(pipedream_api.router)
|
||||||
|
|
||||||
# MFA functionality moved to frontend
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
from admin import api as admin_api
|
from admin import api as admin_api
|
||||||
api_router.include_router(admin_api.router)
|
api_router.include_router(admin_api.router)
|
||||||
|
|
||||||
|
|
|
@ -216,17 +216,3 @@ class SunaDefaultAgentService:
|
||||||
logger.error(f"Failed to delete agent {agent_id}: {e}")
|
logger.error(f"Failed to delete agent {agent_id}: {e}")
|
||||||
raise
|
raise
|
||||||
|
|
||||||
# Legacy methods for backward compatibility
|
|
||||||
async def sync_all_suna_agents(self) -> Dict[str, Any]:
|
|
||||||
"""Legacy method - no longer needed as config is always current."""
|
|
||||||
logger.warning("sync_all_suna_agents is deprecated - Suna config is always current")
|
|
||||||
return {
|
|
||||||
"updated_count": 0,
|
|
||||||
"failed_count": 0,
|
|
||||||
"details": ["Sync not needed - Suna agents always use current config"]
|
|
||||||
}
|
|
||||||
|
|
||||||
async def update_all_suna_agents(self, target_version: Optional[str] = None) -> Dict[str, Any]:
|
|
||||||
"""Legacy method - no longer needed as config is always current."""
|
|
||||||
logger.warning("update_all_suna_agents is deprecated - Suna config is always current")
|
|
||||||
return await self.sync_all_suna_agents()
|
|
|
@ -19,12 +19,21 @@ export const metadata: Metadata = {
|
||||||
title: siteConfig.name,
|
title: siteConfig.name,
|
||||||
description: siteConfig.description,
|
description: siteConfig.description,
|
||||||
siteName: siteConfig.name,
|
siteName: siteConfig.name,
|
||||||
|
images: [
|
||||||
|
{
|
||||||
|
url: '/banner.png',
|
||||||
|
width: 1200,
|
||||||
|
height: 630,
|
||||||
|
alt: siteConfig.name,
|
||||||
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
twitter: {
|
twitter: {
|
||||||
card: 'summary_large_image',
|
card: 'summary_large_image',
|
||||||
title: siteConfig.name,
|
title: siteConfig.name,
|
||||||
description: siteConfig.description,
|
description: siteConfig.description,
|
||||||
creator: '@kortixai',
|
creator: '@kortixai',
|
||||||
|
images: ['/banner.png'],
|
||||||
},
|
},
|
||||||
robots: {
|
robots: {
|
||||||
index: true,
|
index: true,
|
||||||
|
|
|
@ -31,7 +31,7 @@ export default async function Image() {
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
src={`${baseUrl}/meta.png`}
|
src={`${baseUrl}/banner.png`}
|
||||||
alt={alt}
|
alt={alt}
|
||||||
style={{
|
style={{
|
||||||
width: '100%',
|
width: '100%',
|
||||||
|
|
Loading…
Reference in New Issue