diff --git a/apps/dokploy/components/dashboard/application/deployments/show-deployments.tsx b/apps/dokploy/components/dashboard/application/deployments/show-deployments.tsx index d33936f5..76e5bb26 100644 --- a/apps/dokploy/components/dashboard/application/deployments/show-deployments.tsx +++ b/apps/dokploy/components/dashboard/application/deployments/show-deployments.tsx @@ -73,15 +73,14 @@ export const ShowDeployments = ({ applicationId }: Props) => { ) : (
- {deployments?.map((deployment) => ( + {deployments?.map((deployment, index) => (
- {deployment.status} - + {index + 1}. {deployment.status} 10) { - const deploymentsToDelete = deploymentList.slice(10); + const deploymentsToDelete = deploymentList.slice(9); if (serverId) { let command = ""; for (const oldDeployment of deploymentsToDelete) { @@ -342,7 +342,7 @@ const removeLastTenComposeDeployments = async ( if (deploymentList.length > 10) { if (serverId) { let command = ""; - const deploymentsToDelete = deploymentList.slice(10); + const deploymentsToDelete = deploymentList.slice(9); for (const oldDeployment of deploymentsToDelete) { const logPath = path.join(oldDeployment.logPath); @@ -354,7 +354,7 @@ const removeLastTenComposeDeployments = async ( await execAsyncRemote(serverId, command); } else { - const deploymentsToDelete = deploymentList.slice(10); + const deploymentsToDelete = deploymentList.slice(9); for (const oldDeployment of deploymentsToDelete) { const logPath = path.join(oldDeployment.logPath); if (existsSync(logPath)) { @@ -376,7 +376,7 @@ export const removeLastTenPreviewDeploymenById = async ( }); if (deploymentList.length > 10) { - const deploymentsToDelete = deploymentList.slice(10); + const deploymentsToDelete = deploymentList.slice(9); if (serverId) { let command = ""; for (const oldDeployment of deploymentsToDelete) { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c076f614..cef1fa0d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -97,9 +97,27 @@ importers: apps/dokploy: dependencies: + '@ai-sdk/anthropic': + specifier: ^1.0.6 + version: 1.0.8(zod@3.23.8) + '@ai-sdk/azure': + specifier: ^1.0.15 + version: 1.0.18(zod@3.23.8) + '@ai-sdk/cohere': + specifier: ^1.0.6 + version: 1.0.8(zod@3.23.8) + '@ai-sdk/deepinfra': + specifier: ^0.0.4 + version: 0.0.4(zod@3.23.8) + '@ai-sdk/mistral': + specifier: ^1.0.6 + version: 1.0.8(zod@3.23.8) '@ai-sdk/openai': specifier: ^1.0.12 version: 1.0.16(zod@3.23.8) + '@ai-sdk/openai-compatible': + specifier: ^0.0.13 + version: 0.0.13(zod@3.23.8) '@codemirror/lang-json': specifier: ^6.0.1 version: 6.0.1 @@ -343,6 +361,9 @@ importers: octokit: specifier: 3.1.2 version: 3.1.2 + ollama-ai-provider: + specifier: ^1.1.0 + version: 1.1.0(zod@3.23.8) otpauth: specifier: ^9.2.3 version: 9.3.4