| | |
| | | import { onMounted, reactive, computed } from 'vue'; |
| | | import { getSectionList } from '/@/api/ai/chat'; |
| | | import router from '/@/router'; |
| | | import { activeSectionAId } from '/@/stores/chatRoom'; |
| | | import { activeRoomId, activeSectionAId, setRoomConfig } from '/@/stores/chatRoom'; |
| | | |
| | | let state = reactive({ |
| | | applicationScenarios: [], |
| | |
| | | }); |
| | | const changeScenarios = async (item) => { |
| | | activeSectionAId.value = item.section_id; |
| | | setRoomConfig(activeRoomId.value, 'isAnswerByLLM', false); |
| | | }; |
| | | const getMainSectionList = async () => { |
| | | const res = await getSectionList(); |