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
3 changes: 2 additions & 1 deletion packages/agentflow/src/infrastructure/api/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ export function createApiClient(apiBaseUrl: string, token?: string): AxiosInstan

const client = axios.create({
baseURL: `${apiBaseUrl}/api/v1`,
headers
headers,
withCredentials: true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

This change introduces withCredentials: true but lacks corresponding test coverage. To prevent future regressions, please add a test case to client.test.ts that verifies withCredentials: true is passed to axios.create.

})

// Add request interceptor for debugging
Expand Down