Repository: FlowiseAI/Flowise
File: packages/components/nodes/chatmodels/ChatCerebras/ChatCerebras.ts (TypeScript)

Code before:
        this.label = 'ChatCerebras'
        this.name = 'chatCerebras'
        this.version = 3.0
        this.type = 'ChatCerebras'
        this.icon = 'cerebras.png'
        this.category = 'Chat Models'
        this.description = 'Wrapper around Cerebras Inference API'
        this.baseClasses = [this.type, ...getBaseClasses(ChatOpenAI)]
        this.credential = {
            label: 'Connect Credential',
            name: 'credential',
            type: 'credential',
            credentialNames: ['cerebrasAIApi'],
            optional: true
        }
        this.inputs = [
            {
                label: 'Cache',
                name: 'cache',
                type: 'BaseCache',
                optional: true
            },
            {
                label: 'Model Name',
                name: 'modelName',
                type: 'options',
                options: [
                    {
                        label: 'llama-3.3-70b',
                        name: 'llama-3.3-70b',
                        description: 'Best for complex reasoning and long-form content'
                    },
                    {
                        label: 'qwen-3-32b',
                        name: 'qwen-3-32b',
                        description: 'Balanced performance for general-purpose tasks'
                    },
                    {
                        label: 'llama3.1-8b',
                        name: 'llama3.1-8b',
                        description: 'Fastest model, ideal for simple tasks and high throughput'
                    },
                    {
                        label: 'gpt-oss-120b',
                        name: 'gpt-oss-120b',
                        description: 'Largest model for demanding tasks'
                    },
                    {
                        label: 'zai-glm-4.6',
                        name: 'zai-glm-4.6',
                        description: 'Advanced reasoning and complex problem-solving'

Review comment (suggestion):
since Cerebras support many models, we prefer to make it a `type: string` so users can type in any name they want

Code after:
    constructor() {
        this.label = 'ChatCerebras'
        this.name = 'chatCerebras'
        this.version = 3.0
        this.type = 'ChatCerebras'
        this.icon = 'cerebras.png'
        this.category = 'Chat Models'
        this.description = 'Wrapper around Cerebras Inference API'
        this.baseClasses = [this.type, ...getBaseClasses(ChatOpenAI)]
        this.credential = {
            label: 'Connect Credential',
            name: 'credential',
            type: 'credential',
            credentialNames: ['cerebrasAIApi'],
            optional: true
        }
        this.inputs = [
            {
                label: 'Cache',
                name: 'cache',
                type: 'BaseCache',
                optional: true
            },
            {
                label: 'Model Name',
                name: 'modelName',
                type: 'asyncOptions',
                loadMethod: 'listModels',
                default: 'llama3.1-8b'
            },
            {
                label: 'Temperature',
                name: 'temperature',
                type: 'number',
                step: 0.1,
                default: 0.9,
                optional: true
            },
            {
                label: 'Streaming',
                name: 'streaming',
                type: 'boolean',
                default: true,
                optional: true,
                additionalParams: true
            },
            {
                label: 'Max Tokens',
                name: 'maxTokens',
                type: 'number',
                step: 1,