Skip to content

Commit 1835809

Browse files
committed
fix workflow
1 parent ca7beca commit 1835809

File tree

4 files changed

+2
-6
lines changed

4 files changed

+2
-6
lines changed

.github/workflows/evals.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
run: |
2424
echo "OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}" > ./apps/sandbox-container/.dev.vars
2525
echo "OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}" > ./apps/workers-bindings/.dev.vars
26+
echo "DEV_CLOUDFLARE_API_TOKEN=${{ secrets.DEV_CLOUDFLARE_API_TOKEN }}" >> ./apps/sandbox-container/.dev.vars
2627
echo "DEV_CLOUDFLARE_API_TOKEN=${{ secrets.DEV_CLOUDFLARE_API_TOKEN }}" >> ./apps/workers-bindings/.dev.vars
2728
- name: Verify .dev.vars file
2829
run: |

apps/sandbox-container/evals/utils.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ export async function runTask(
4949
return acc
5050
}, {} as ToolSet)
5151

52-
console.log('streaming res')
5352
const res = streamText({
5453
model,
5554
system:

apps/sandbox-container/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"test": "vitest",
1616
"types": "wrangler types --include-env=false",
1717
"eval:dev": "start-server-and-test --expect 404 eval:server http://localhost:8976 'vitest --testTimeout=60000 --config vitest.config.evals.ts'",
18-
"eval:server": "concurrently \"tsx container/index.ts\" \"wrangler dev --var \"ENVIRONMENT:test\"\"",
18+
"eval:server": "concurrently \"tsx container/index.ts\" \"wrangler dev --var ENVIRONMENT:test --var DEV_DISABLE_OAUTH:true --var DEV_CLOUDFLARE_EMAIL:[email protected]\"",
1919
"eval:ci": "start-server-and-test --expect 404 eval:server http://localhost:8976 'vitest run --testTimeout=60000 --config vitest.config.evals.ts'"
2020
},
2121
"dependencies": {

apps/sandbox-container/server/containerMcp.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,6 @@ export class ContainerMcpAgent extends McpAgent<Env, never, Props> {
5454
Use this tool to initialize a container before running any python or node.js code that the user requests ro run.`,
5555
// @ts-ignore
5656
async () => {
57-
console.log('initializing')
58-
return {
59-
content: [{ type: 'text', text: 'Initialized container' }],
60-
}
6157
const userInBlocklist = await this.env.USER_BLOCKLIST.get(this.props.user.id)
6258
if (userInBlocklist) {
6359
return {

0 commit comments

Comments
 (0)