Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tests/utils/agent-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import * as fs from "fs";
import * as os from "os";
import * as path from "path";
import { fileURLToPath } from "url";
import { type CopilotSession, CopilotClient, type SessionEvent } from "@github/copilot-sdk";
import { type CopilotSession, CopilotClient, type SessionEvent, approveAll } from "@github/copilot-sdk";
import { getAllAssistantMessages } from "./evaluate";
import { redactSecrets } from "./redact";

Expand Down Expand Up @@ -391,6 +391,7 @@ export function useAgentRunner() {

const session = await client.createSession({
model: "claude-sonnet-4.5",
onPermissionRequest: approveAll,
skillDirectories: [skillDirectory],
mcpServers: {
azure: {
Expand Down Expand Up @@ -735,6 +736,7 @@ export async function runConversation(config: ConversationConfig): Promise<Conve

session = await client.createSession({
model: "claude-sonnet-4.5",
onPermissionRequest: approveAll,
skillDirectories: [skillDirectory],
mcpServers: {
azure: {
Expand Down
Loading