Skip to content

Commit 3058e35

Browse files
waleedlatif1icecrasher321emir-karabegSg312
authored
v0.5.6: executor fixes, UI improvements, run paths (#2028)
* test(pr): hackathon (#1999) * test(pr): github trigger (#2000) * fix(usage-indicator): conditional rendering, upgrade, and ui/ux (#2001) * fix: usage-limit indicator and render conditonally on is billing enabled * fix: upgrade render * fix(notes): fix notes, tighten spacing, update deprecated zustand function, update use mention data to ignore block positon (#2002) * fix(pdfs): use unpdf instead of pdf-parse (#2004) * fix(modals): fix z-index for various modals and output selector and variables (#2005) * fix(condition): treat condition input the same as the code subblock (#2006) * feat(models): added gpt-5.1 (#2007) * improvement: runpath edges, blocks, active (#2008) * feat(i18n): update translations (#2009) * fix(triggers): check triggermode and consolidate block type (#2011) * fix(triggers): disabled trigger shouldn't be added to dag (#2012) * Fix disabled blocks * Comments * Fix api/chat trigger not found message * fix(tags): only show start block upstream if is ancestor (#2013) * fix(variables): Fix resolution on double < (#2016) * Fix variable <> * Ling * Clean * feat(billing): add notif for first failed payment, added upgrade email from free, updated providers that supported granular tool control to support them, fixed envvar popover, fixed redirect to wrong workspace after oauth connect (#2015) * feat(billing): add notif for first failed payment, added upgrade email from free, updated providers that supported granular tool control to support them, fixed envvar popover, fixed redirect to wrong workspace after oauth connect * fix build * ack PR comments * feat(performance): added reactquery hooks for workflow operations, for logs, fixed logs reloading, fix subscription UI (#2017) * feat(performance): added reactquery hooks for workflow operations, for logs, fixed logs reloading, fix subscription UI * use useInfiniteQuery for logs fetching * fix(copilot): run workflow supports input format and fix run id (#2018) * fix(router): fix error edge in router block + fix source handle problem (#2019) * Fix router block error port handling * Remove comment * Fix edge execution * improvement: code subblock, action bar, connections (#2024) * improvement: action bar, connections * fix: code block draggable resize * fix(response): fix response block http format (#2027) * Fix response block * Lint * fix(notes): fix notes block spacing, additional logs for billing transfer route (#2029) --------- Co-authored-by: Vikhyath Mondreti <[email protected]> Co-authored-by: Emir Karabeg <[email protected]> Co-authored-by: Siddharth Ganesan <[email protected]>
1 parent aca4d2f commit 3058e35

File tree

114 files changed

+3365
-2569
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+3365
-2569
lines changed

apps/docs/content/docs/de/blocks/agent.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ Der Benutzer-Prompt stellt die primären Eingabedaten für die Inferenzverarbeit
4242

4343
Der Agent-Block unterstützt mehrere LLM-Anbieter über eine einheitliche Inferenzschnittstelle. Verfügbare Modelle umfassen:
4444

45-
- **OpenAI**: GPT-5, GPT-4o, o1, o3, o4-mini, gpt-4.1
46-
- **Anthropic**: Claude 3.7 Sonnet
45+
- **OpenAI**: GPT-5.1, GPT-5, GPT-4o, o1, o3, o4-mini, gpt-4.1
46+
- **Anthropic**: Claude 4.5 Sonnet, Claude Opus 4.1
4747
- **Google**: Gemini 2.5 Pro, Gemini 2.0 Flash
48-
- **Andere Anbieter**: Groq, Cerebras, xAI, DeepSeek
48+
- **Andere Anbieter**: Groq, Cerebras, xAI, Azure OpenAI, OpenRouter
4949
- **Lokale Modelle**: Ollama-kompatible Modelle
5050

5151
### Temperatur

apps/docs/content/docs/en/blocks/agent.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ The user prompt represents the primary input data for inference processing. This
4242

4343
The Agent block supports multiple LLM providers through a unified inference interface. Available models include:
4444

45-
- **OpenAI**: GPT-5, GPT-4o, o1, o3, o4-mini, gpt-4.1
46-
- **Anthropic**: Claude 3.7 Sonnet
45+
- **OpenAI**: GPT-5.1, GPT-5, GPT-4o, o1, o3, o4-mini, gpt-4.1
46+
- **Anthropic**: Claude 4.5 Sonnet, Claude Opus 4.1
4747
- **Google**: Gemini 2.5 Pro, Gemini 2.0 Flash
48-
- **Other Providers**: Groq, Cerebras, xAI, DeepSeek
48+
- **Other Providers**: Groq, Cerebras, xAI, Azure OpenAI, OpenRouter
4949
- **Local Models**: Ollama-compatible models
5050

5151
### Temperature

apps/docs/content/docs/es/blocks/agent.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ El prompt del usuario representa los datos de entrada principales para el proces
4242

4343
El bloque Agente admite múltiples proveedores de LLM a través de una interfaz de inferencia unificada. Los modelos disponibles incluyen:
4444

45-
- **OpenAI**: GPT-5, GPT-4o, o1, o3, o4-mini, gpt-4.1
46-
- **Anthropic**: Claude 3.7 Sonnet
45+
- **OpenAI**: GPT-5.1, GPT-5, GPT-4o, o1, o3, o4-mini, gpt-4.1
46+
- **Anthropic**: Claude 4.5 Sonnet, Claude Opus 4.1
4747
- **Google**: Gemini 2.5 Pro, Gemini 2.0 Flash
48-
- **Otros proveedores**: Groq, Cerebras, xAI, DeepSeek
49-
- **Modelos locales**: Modelos compatibles con Ollama
48+
- **Otros proveedores**: Groq, Cerebras, xAI, Azure OpenAI, OpenRouter
49+
- **Modelos locales**: modelos compatibles con Ollama
5050

5151
### Temperatura
5252

apps/docs/content/docs/fr/blocks/agent.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ Le prompt utilisateur représente les données d'entrée principales pour le tra
4242

4343
Le bloc Agent prend en charge plusieurs fournisseurs de LLM via une interface d'inférence unifiée. Les modèles disponibles comprennent :
4444

45-
- **OpenAI** : GPT-5, GPT-4o, o1, o3, o4-mini, gpt-4.1
46-
- **Anthropic** : Claude 3.7 Sonnet
45+
- **OpenAI** : GPT-5.1, GPT-5, GPT-4o, o1, o3, o4-mini, gpt-4.1
46+
- **Anthropic** : Claude 4.5 Sonnet, Claude Opus 4.1
4747
- **Google** : Gemini 2.5 Pro, Gemini 2.0 Flash
48-
- **Autres fournisseurs** : Groq, Cerebras, xAI, DeepSeek
48+
- **Autres fournisseurs** : Groq, Cerebras, xAI, Azure OpenAI, OpenRouter
4949
- **Modèles locaux** : modèles compatibles avec Ollama
5050

5151
### Température

apps/docs/content/docs/ja/blocks/agent.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ When responding to questions about investments, include risk disclaimers.
4242

4343
エージェントブロックは統一された推論インターフェースを通じて複数のLLMプロバイダーをサポートしています。利用可能なモデルには以下が含まれます:
4444

45-
- **OpenAI**: GPT-5、GPT-4o、o1、o3、o4-mini、gpt-4.1
46-
- **Anthropic**: Claude 3.7 Sonnet
45+
- **OpenAI**: GPT-5.1、GPT-5、GPT-4o、o1、o3、o4-mini、gpt-4.1
46+
- **Anthropic**: Claude 4.5 Sonnet、Claude Opus 4.1
4747
- **Google**: Gemini 2.5 Pro、Gemini 2.0 Flash
48-
- **その他のプロバイダー**: Groq、Cerebras、xAI、DeepSeek
48+
- **その他のプロバイダー**: Groq、Cerebras、xAI、Azure OpenAI、OpenRouter
4949
- **ローカルモデル**: Ollama互換モデル
5050

5151
### 温度

apps/docs/content/docs/zh/blocks/agent.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ When responding to questions about investments, include risk disclaimers.
4242

4343
代理模块通过统一的推理接口支持多个 LLM 提供商。可用模型包括:
4444

45-
- **OpenAI**:GPT-5、GPT-4o、o1、o3、o4-mini、gpt-4.1
46-
- **Anthropic**:Claude 3.7 Sonnet
45+
- **OpenAI**:GPT-5.1、GPT-5、GPT-4o、o1、o3、o4-mini、gpt-4.1
46+
- **Anthropic**:Claude 4.5 Sonnet、Claude Opus 4.1
4747
- **Google**:Gemini 2.5 Pro、Gemini 2.0 Flash
48-
- **其他提供商**:Groq、Cerebras、xAI、DeepSeek
48+
- **其他提供商**:Groq、Cerebras、xAI、Azure OpenAI、OpenRouter
4949
- **本地模型**:兼容 Ollama 的模型
5050

5151
### 温度

apps/docs/i18n.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5117,7 +5117,7 @@ checksums:
51175117
content/9: e688b523909d6d6e9966c17892a18c96
51185118
content/10: e50bd5107ca3410126cf0252b3c47eca
51195119
content/11: d03d17960348dea95c6df8f46114bd0a
5120-
content/12: 3850cfbd618a9d1c836fc7086da0f9b4
5120+
content/12: 80da7e96414b75bb5b910c437bf7894a
51215121
content/13: 6a7479225be3a7c7a42ba557ece50d03
51225122
content/14: c64f9cd5168b3e592fe3341cbe1a41fe
51235123
content/15: 87d6b6280da1c98b1bc291483459c8cf

apps/sim/app/api/careers/submit/route.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { render } from '@react-email/components'
22
import { type NextRequest, NextResponse } from 'next/server'
33
import { z } from 'zod'
4-
import CareersConfirmationEmail from '@/components/emails/careers-confirmation-email'
5-
import CareersSubmissionEmail from '@/components/emails/careers-submission-email'
4+
import CareersConfirmationEmail from '@/components/emails/careers/careers-confirmation-email'
5+
import CareersSubmissionEmail from '@/components/emails/careers/careers-submission-email'
66
import { sendEmail } from '@/lib/email/mailer'
77
import { createLogger } from '@/lib/logs/console/logger'
88
import { generateRequestId } from '@/lib/utils'

apps/sim/app/api/workflows/[id]/execute/route.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import { executeWorkflowCore } from '@/lib/workflows/executor/execution-core'
1515
import { type ExecutionEvent, encodeSSEEvent } from '@/lib/workflows/executor/execution-events'
1616
import { PauseResumeManager } from '@/lib/workflows/executor/human-in-the-loop-manager'
1717
import { createStreamingResponse } from '@/lib/workflows/streaming'
18+
import { createHttpResponseFromBlock, workflowHasResponseBlock } from '@/lib/workflows/utils'
1819
import { validateWorkflowAccess } from '@/app/api/workflows/middleware'
1920
import { type ExecutionMetadata, ExecutionSnapshot } from '@/executor/execution/snapshot'
2021
import type { StreamingExecution } from '@/executor/types'
@@ -495,6 +496,11 @@ export async function POST(req: NextRequest, { params }: { params: Promise<{ id:
495496
loggingSession,
496497
})
497498

499+
const hasResponseBlock = workflowHasResponseBlock(result)
500+
if (hasResponseBlock) {
501+
return createHttpResponseFromBlock(result)
502+
}
503+
498504
const filteredResult = {
499505
success: result.success,
500506
output: result.output,

apps/sim/app/api/workflows/route.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -118,18 +118,18 @@ export async function POST(req: NextRequest) {
118118

119119
logger.info(`[${requestId}] Creating workflow ${workflowId} for user ${session.user.id}`)
120120

121-
// Track workflow creation
122-
try {
123-
const { trackPlatformEvent } = await import('@/lib/telemetry/tracer')
124-
trackPlatformEvent('platform.workflow.created', {
125-
'workflow.id': workflowId,
126-
'workflow.name': name,
127-
'workflow.has_workspace': !!workspaceId,
128-
'workflow.has_folder': !!folderId,
121+
import('@/lib/telemetry/tracer')
122+
.then(({ trackPlatformEvent }) => {
123+
trackPlatformEvent('platform.workflow.created', {
124+
'workflow.id': workflowId,
125+
'workflow.name': name,
126+
'workflow.has_workspace': !!workspaceId,
127+
'workflow.has_folder': !!folderId,
128+
})
129+
})
130+
.catch(() => {
131+
// Silently fail
129132
})
130-
} catch (_e) {
131-
// Silently fail
132-
}
133133

134134
await db.insert(workflow).values({
135135
id: workflowId,

0 commit comments

Comments
 (0)