Explorar el Código

chore: adjust for ollama support (#4129)

fred-bf hace 1 año
padre
commit
ff166f7b4c
Se han modificado 1 ficheros con 0 adiciones y 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;