Skip to main content

AiSessionConfig

interface

Overrides applied when creating a session. Every field is optional; anything omitted is inherited from the session or workspace you create from.

interface AiSessionConfig

Import

import { AiSessionConfig } from '@modular/sdk/view';

Members7

appendSystemPromptoptional
string
autoApproveoptional
AiAutoApproveLevel
foregroundoptional
boolean
metadataoptional
AiSessionDisplayMetadata

Immutable metadata stored with the session.

modeloptional
string
titleoptional
string
workingDirectoryoptional
string

Notes

category
AI