perf: 主agent对话交互调整

This commit is contained in:
rd
2025-08-28 12:03:52 +08:00
parent ce5bd35e37
commit 10fc946eca
13 changed files with 190 additions and 136 deletions

View File

@ -28,7 +28,7 @@ export const getConversationList = (params: {}) => {
return Http.get(`/v1/conversation/message/list`, params);
};
export const baseUrl = 'http://192.168.40.41:8001';
export const baseUrl = 'https://agent.lvfunai.com';
export const getHeaders = () => {
const store = useEnterpriseStore();
return {
@ -42,7 +42,7 @@ export const getHeaders = () => {
/**
* 获取智能体信息
*/
export const getAgentInfo = async () => {
export const getAgentData = async () => {
const { data } = await axios.get(`${baseUrl}/api/agent/info`, {
headers: getHeaders(),
});