Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
import { getWorkflowVersionName } from '../version'
describe('getWorkflowVersionName', () => {
it('prefers a marked name over the version number', () => {
expect(
getWorkflowVersionName(
{
marked_name: 'Production',
version_number: 7,
},
'Untitled Version',
),
).toBe('Production')
})
it('uses the version number when the marked name is empty', () => {
expect(
getWorkflowVersionName(
{
marked_name: '',
version_number: 7,
},
'Untitled Version',
),
).toBe('# 7')
})
it('uses the default name for legacy versions without a version number', () => {
expect(
getWorkflowVersionName(
{
marked_name: '',
version_number: null,
},
'Untitled Version',
),
).toBe('Untitled Version')
})
})