Skip to content

Commit 9a7b5ff

Browse files
committed
Fix merge conflicts
1 parent 4ede071 commit 9a7b5ff

File tree

7 files changed

+0
-155
lines changed

7 files changed

+0
-155
lines changed

apps/docs/components/docs-layout/toc-footer.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,7 @@ export function TOCFooter() {
1010
<div className='text-balance font-semibold text-base leading-tight'>
1111
Start building today
1212
</div>
13-
<<<<<<< HEAD
1413
<div className='text-muted-foreground'>Trusted by over 100,000 builders.</div>
15-
=======
16-
<div className='text-muted-foreground'>Trusted by over 70,000 builders.</div>
17-
>>>>>>> staging
1814
<div className='text-muted-foreground'>
1915
The open-source platform to build AI agents and run your agentic workforce.
2016
</div>

apps/sim/app/(landing)/components/structured-data.tsx

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,7 @@ export default function StructuredData() {
3838
url: 'https://sim.ai',
3939
name: 'Sim — Build AI Agents & Run Your Agentic Workforce',
4040
description:
41-
<<<<<<< HEAD
4241
'Sim is the open-source platform to build AI agents and run your agentic workforce. Connect 1,000+ integrations and LLMs to deploy and orchestrate agentic workflows. Join 100,000+ builders.',
43-
=======
44-
'Open-source AI agent workflow builder. 70,000+ developers build and deploy agentic workflows. SOC2 and HIPAA compliant.',
45-
>>>>>>> staging
4642
publisher: {
4743
'@id': 'https://sim.ai/#organization',
4844
},
@@ -91,11 +87,7 @@ export default function StructuredData() {
9187
'@id': 'https://sim.ai/#software',
9288
name: 'Sim — Build AI Agents & Run Your Agentic Workforce',
9389
description:
94-
<<<<<<< HEAD
9590
'Sim is the open-source platform to build AI agents and run your agentic workforce. Connect 1,000+ integrations and LLMs to deploy and orchestrate agentic workflows. Create agents, workflows, knowledge bases, tables, and docs. Trusted by over 100,000 builders. SOC2 and HIPAA compliant.',
96-
=======
97-
'Open-source AI agent workflow builder used by 70,000+ developers. Build agentic workflows with visual drag-and-drop interface. SOC2 and HIPAA compliant. Integrate with 100+ apps.',
98-
>>>>>>> staging
9991
applicationCategory: 'DeveloperApplication',
10092
applicationSubCategory: 'AI Development Tools',
10193
operatingSystem: 'Web, Windows, macOS, Linux',
@@ -196,11 +188,7 @@ export default function StructuredData() {
196188
name: 'What is Sim?',
197189
acceptedAnswer: {
198190
'@type': 'Answer',
199-
<<<<<<< HEAD
200191
text: 'Sim is the open-source platform to build AI agents and run your agentic workforce. Teams connect 1,000+ integrations and LLMs to deploy and orchestrate agentic workflows. Create agents, workflows, knowledge bases, tables, and docs. Trusted by over 100,000 builders. SOC2 and HIPAA compliant.',
201-
=======
202-
text: 'Sim is an open-source AI agent workflow builder used by 70,000+ developers at trail-blazing startups to Fortune 500 companies. It provides a visual drag-and-drop interface for building and deploying agentic workflows. Sim is SOC2 and HIPAA compliant.',
203-
>>>>>>> staging
204192
},
205193
},
206194
{

apps/sim/app/api/copilot/chat/route.ts

Lines changed: 0 additions & 118 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,6 @@ export async function POST(req: NextRequest) {
268268
} catch {}
269269

270270
if (stream) {
271-
<<<<<<< HEAD
272271
const sseStream = createSSEStream({
273272
requestPayload,
274273
userId: authenticatedUserId,
@@ -287,123 +286,6 @@ export async function POST(req: NextRequest) {
287286
goRoute: '/api/copilot',
288287
autoExecuteTools: true,
289288
interactive: true,
290-
=======
291-
const streamId = userMessageIdToUse
292-
let eventWriter: ReturnType<typeof createStreamEventWriter> | null = null
293-
let clientDisconnected = false
294-
const transformedStream = new ReadableStream({
295-
async start(controller) {
296-
const encoder = new TextEncoder()
297-
298-
await resetStreamBuffer(streamId)
299-
await setStreamMeta(streamId, { status: 'active', userId: authenticatedUserId })
300-
eventWriter = createStreamEventWriter(streamId)
301-
302-
const shouldFlushEvent = (event: Record<string, any>) =>
303-
event.type === 'tool_call' ||
304-
event.type === 'tool_result' ||
305-
event.type === 'tool_error' ||
306-
event.type === 'subagent_end' ||
307-
event.type === 'structured_result' ||
308-
event.type === 'subagent_result' ||
309-
event.type === 'done' ||
310-
event.type === 'error'
311-
312-
const pushEvent = async (event: Record<string, any>) => {
313-
if (!eventWriter) return
314-
const entry = await eventWriter.write(event)
315-
if (shouldFlushEvent(event)) {
316-
await eventWriter.flush()
317-
}
318-
const payload = {
319-
...event,
320-
eventId: entry.eventId,
321-
streamId,
322-
}
323-
try {
324-
if (!clientDisconnected) {
325-
controller.enqueue(encoder.encode(`data: ${JSON.stringify(payload)}\n\n`))
326-
}
327-
} catch {
328-
clientDisconnected = true
329-
await eventWriter.flush()
330-
}
331-
}
332-
333-
if (actualChatId) {
334-
await pushEvent({ type: 'chat_id', chatId: actualChatId })
335-
}
336-
337-
if (actualChatId && !currentChat?.title && conversationHistory.length === 0) {
338-
requestChatTitleFromCopilot({ message, model: selectedModel, provider })
339-
.then(async (title) => {
340-
if (title) {
341-
await db
342-
.update(copilotChats)
343-
.set({
344-
title,
345-
updatedAt: new Date(),
346-
})
347-
.where(eq(copilotChats.id, actualChatId!))
348-
await pushEvent({ type: 'title_updated', title })
349-
}
350-
})
351-
.catch((error) => {
352-
logger.error(`[${tracker.requestId}] Title generation failed:`, error)
353-
})
354-
}
355-
356-
try {
357-
const result = await orchestrateCopilotStream(requestPayload, {
358-
userId: authenticatedUserId,
359-
workflowId,
360-
chatId: actualChatId,
361-
autoExecuteTools: true,
362-
interactive: true,
363-
onEvent: async (event) => {
364-
await pushEvent(event)
365-
},
366-
})
367-
368-
if (currentChat && result.conversationId) {
369-
await db
370-
.update(copilotChats)
371-
.set({
372-
updatedAt: new Date(),
373-
conversationId: result.conversationId,
374-
})
375-
.where(eq(copilotChats.id, actualChatId!))
376-
}
377-
await eventWriter.close()
378-
await setStreamMeta(streamId, { status: 'complete', userId: authenticatedUserId })
379-
} catch (error) {
380-
logger.error(`[${tracker.requestId}] Orchestration error:`, error)
381-
await eventWriter.close()
382-
await setStreamMeta(streamId, {
383-
status: 'error',
384-
userId: authenticatedUserId,
385-
error: error instanceof Error ? error.message : 'Stream error',
386-
})
387-
await pushEvent({
388-
type: 'error',
389-
data: {
390-
displayMessage: 'An unexpected error occurred while processing the response.',
391-
},
392-
})
393-
} finally {
394-
try {
395-
controller.close()
396-
} catch {
397-
// controller may already be closed by cancel()
398-
}
399-
}
400-
},
401-
async cancel() {
402-
clientDisconnected = true
403-
if (eventWriter) {
404-
await eventWriter.close().catch(() => {})
405-
}
406-
>>>>>>> staging
407289
},
408290
})
409291

apps/sim/app/llms-full.txt/route.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@ export async function GET() {
55

66
const llmsFullContent = `# Sim — Build AI Agents & Run Your Agentic Workforce
77
8-
<<<<<<< HEAD
98
> Sim is the open-source platform to build AI agents and run your agentic workforce. Connect 1,000+ integrations and LLMs to deploy and orchestrate agentic workflows.
10-
=======
11-
> Sim is an open-source AI agent workflow builder used by 70,000+ developers at startups to Fortune 500 companies. Build and deploy agentic workflows with a visual drag-and-drop canvas. SOC2 and HIPAA compliant.
12-
>>>>>>> staging
139
1410
## Overview
1511

apps/sim/app/llms.txt/route.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@ export async function GET() {
55

66
const llmsContent = `# Sim
77
8-
<<<<<<< HEAD
98
> Sim is the open-source platform to build AI agents and run your agentic workforce. Connect 1,000+ integrations and LLMs to deploy and orchestrate agentic workflows.
10-
=======
11-
> Sim is an open-source AI agent workflow builder. 70,000+ developers at startups to Fortune 500 companies deploy agentic workflows on the Sim platform. SOC2 and HIPAA compliant.
12-
>>>>>>> staging
139
1410
Sim lets teams create agents, workflows, knowledge bases, tables, and docs. Over 100,000 builders use Sim — from startups to Fortune 500 companies. SOC2 and HIPAA compliant.
1511

apps/sim/app/page.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,7 @@ export const metadata: Metadata = {
1010
metadataBase: new URL(baseUrl),
1111
title: 'Sim — Build AI Agents & Run Your Agentic Workforce',
1212
description:
13-
<<<<<<< HEAD
1413
'Sim is the open-source platform to build AI agents and run your agentic workforce. Connect 1,000+ integrations and LLMs to orchestrate agentic workflows.',
15-
=======
16-
'Open-source AI agent workflow builder used by 70,000+ developers. Build and deploy agentic workflows with a visual drag-and-drop canvas. Connect 100+ apps and ship SOC2 & HIPAA-ready AI automations from startups to Fortune 500.',
17-
>>>>>>> staging
1814
keywords:
1915
'AI agents, agentic workforce, open-source AI agent platform, agentic workflows, LLM orchestration, AI automation, knowledge base, workflow builder, AI integrations, SOC2 compliant, HIPAA compliant, enterprise AI',
2016
authors: [{ name: 'Sim' }],
@@ -28,11 +24,7 @@ export const metadata: Metadata = {
2824
openGraph: {
2925
title: 'Sim — Build AI Agents & Run Your Agentic Workforce',
3026
description:
31-
<<<<<<< HEAD
3227
'Sim is the open-source platform to build AI agents and run your agentic workforce. Connect 1,000+ integrations and LLMs to orchestrate agentic workflows. Create agents, workflows, knowledge bases, tables, and docs. Join over 100,000 builders.',
33-
=======
34-
'Open-source platform used by 70,000+ developers. Design, deploy, and monitor agentic workflows with a visual drag-and-drop interface, 100+ integrations, and enterprise-grade security.',
35-
>>>>>>> staging
3628
type: 'website',
3729
url: baseUrl,
3830
siteName: 'Sim',

apps/sim/ee/whitelabeling/metadata.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,8 @@ export function generateBrandedMetadata(override: Partial<Metadata> = {}): Metad
99
const brand = getBrandConfig()
1010

1111
const defaultTitle = brand.name
12-
<<<<<<< HEAD
1312
const summaryFull = `Sim is the open-source platform to build AI agents and run your agentic workforce. Connect 1,000+ integrations and LLMs to deploy and orchestrate agentic workflows. Create agents, workflows, knowledge bases, tables, and docs. Trusted by over 100,000 builders — from startups to Fortune 500 companies. SOC2 and HIPAA compliant.`
1413
const summaryShort = `Sim is the open-source platform to build AI agents and run your agentic workforce. Connect 1,000+ integrations and LLMs to deploy and orchestrate agentic workflows.`
15-
=======
16-
const summaryFull = `Sim is an open-source AI agent workflow builder. Developers at trail-blazing startups to Fortune 500 companies deploy agentic workflows on the Sim platform. 70,000+ developers already use Sim to build and deploy AI agent workflows and connect them to 100+ apps. Sim is SOC2 and HIPAA compliant, ensuring enterprise-grade security for AI automation.`
17-
const summaryShort = `Sim is an open-source AI agent workflow builder for production workflows.`
18-
>>>>>>> staging
1914

2015
return {
2116
title: {

0 commit comments

Comments
 (0)