Explorar o código

chore: adjust for ollama support (#4129)

fred-bf hai 1 ano
pai
achega
ff166f7b4c
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      app/client/api.ts

+ 0 - 1
app/client/api.ts

@@ -151,7 +151,6 @@ export function getHeaders() {
   const accessStore = useAccessStore.getState();
   const headers: Record<string, string> = {
     "Content-Type": "application/json",
-    "x-requested-with": "XMLHttpRequest",
     Accept: "application/json",
   };
   const modelConfig = useChatStore.getState().currentSession().mask.modelConfig;