Skip to content

Commit 52765fd

Browse files
Copilotpelikhan
andauthored
Isolate Copilot transports in the daily Rig sampler (#307)
* Initial plan * Plan fix for daily Rig sampler Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * Fix nested Rig sampler transport Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * Remove generated sample typecheck files Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
1 parent a6c9876 commit 52765fd

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/daily-rig-sampler.lock.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/daily-rig-sampler.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Run this Rig program:
3939
```rig
4040
import { agent, configureAgent, copilotEngine, defineTool, p, s } from "rig";
4141
42-
configureAgent(copilotEngine());
42+
configureAgent(copilotEngine({ server: true }));
4343
4444
const SampleRun = s.object({
4545
path: s.path,
@@ -69,7 +69,7 @@ const runRigSample = defineTool("run_rig_sample", {
6969
}
7070
7171
return await new Promise((resolveRun, rejectRun) => {
72-
const child = spawn(process.execPath, ["skills/rig/rig.ts"], {
72+
const child = spawn(process.execPath, ["skills/rig/rig.ts", "--server"], {
7373
cwd: process.cwd(),
7474
env: {
7575
...process.env,

0 commit comments

Comments
 (0)