refactor(auth): remove agent user header

This commit is contained in:
2026-06-12 10:18:41 +08:00
parent 877b79ada8
commit bb7311589c
8 changed files with 30 additions and 51 deletions
-1
View File
@@ -50,7 +50,6 @@ export const fetchAgentModels = async (): Promise<AgentModelConfig> => {
const response = await apiFetch(`${config.AGENT_URL}/api/v1/agent/chat/models`, {
method: "GET",
projectHeaderMode: "include",
userHeaderMode: "include",
skipAuthRedirect: true,
});
if (!response.ok) {