| 429 | } |
| 430 | |
| 431 | function header(): SessionHeader { |
| 432 | return { |
| 433 | id: 'session-1', |
| 434 | workspaceRoot: '/tmp/maka', |
| 435 | cwd: '/tmp/maka', |
| 436 | createdAt: 1, |
| 437 | lastUsedAt: 1, |
| 438 | name: 'Computer model loop', |
| 439 | titleIsManual: true, |
| 440 | isFlagged: false, |
| 441 | labels: [], |
| 442 | isArchived: false, |
| 443 | status: 'active', |
| 444 | statusUpdatedAt: 1, |
| 445 | hasUnread: false, |
| 446 | backend: 'ai-sdk', |
| 447 | llmConnectionSlug: 'openai-main', |
| 448 | connectionLocked: true, |
| 449 | model: 'mock-computer-model', |
| 450 | permissionMode: 'bypass', |
| 451 | schemaVersion: 1, |
| 452 | }; |
| 453 | } |
| 454 | |
| 455 | function connection(providerType: LlmConnection['providerType']): LlmConnection { |
| 456 | return { |