MCPcopy Index your code
hub / github.com/simstudioai/sim / baseParams

Function baseParams

apps/sim/executor/handlers/pi/cloud-backend.test.ts:30–47  ·  view source on GitHub ↗
(overrides: Partial<PiCloudRunParams> = {})

Source from the content-addressed store, hash-verified

28import { runCloudPi } from '@/executor/handlers/pi/cloud-backend'
29
30function 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
49describe('runCloudPi', () => {
50 beforeEach(() => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected