perf: 主agent对话交互调整
This commit is contained in:
@ -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(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user