Function
baseParams
(overrides: Partial<PiCloudRunParams> = {})
Source from the content-addressed store, hash-verified
| 28 | import { runCloudPi } from '@/executor/handlers/pi/cloud-backend' |
| 29 | |
| 30 | function baseParams(overrides: Partial<PiCloudRunParams> = {}): PiCloudRunParams { |
| 31 | return { |
| 32 | mode: 'cloud', |
| 33 | model: 'claude', |
| 34 | providerId: 'anthropic', |
| 35 | apiKey: 'sk-byok', |
| 36 | isBYOK: true, |
| 37 | task: 'do it', |
| 38 | skills: [], |
| 39 | initialMessages: [], |
| 40 | owner: 'octo', |
| 41 | repo: 'demo', |
| 42 | githubToken: 'ghp_secret', |
| 43 | branchName: 'feature-x', |
| 44 | draft: true, |
| 45 | ...overrides, |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | describe('runCloudPi', () => { |
| 50 | beforeEach(() => { |
Tested by
no test coverage detected