Explorar el Código

feat: /ss-ragflow-api改为/ss-agent-api

Hacked_v0.17.2
fellow99 hace 7 meses
padre
commit
649fa5c13a
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1
    1
      web/src/pages/chat/shared-hooks.ts
  2. 1
    1
      web/src/utils/api.ts

+ 1
- 1
web/src/pages/chat/shared-hooks.ts Ver fichero

@@ -50,7 +50,7 @@ export const useSendSharedMessage = () => {
useCreateNextSharedConversation();
const { handleInputChange, value, setValue } = useHandleMessageInputChange();
const { send, answer, done } = useSendMessageWithSse(
`/ss-ragflow-api/api/v1/${from === SharedFrom.Agent ? 'agentbots' : 'chatbots'}/${conversationId}/completions`,
`/ss-agent-api/api/v1/${from === SharedFrom.Agent ? 'agentbots' : 'chatbots'}/${conversationId}/completions`,
);
const {
derivedMessages,

+ 1
- 1
web/src/utils/api.ts Ver fichero

@@ -1,4 +1,4 @@
let api_host = `/ss-ragflow-api/v1`;
let api_host = `/ss-agent-api/v1`;

export { api_host };


Cargando…
Cancelar
Guardar