Implement interaction features in Step5Interaction component and add routing for interaction view
- Introduced the Step5Interaction component for user interaction with report agents and simulation profiles. - Added chat functionality to communicate with report agents and selected simulation agents. - Implemented a survey feature to gather responses from multiple agents. - Enhanced routing by adding a new InteractionView for seamless navigation to the interaction interface. - Updated the router configuration to include the new interaction route. - Improved UI elements and styles for better user experience in the interaction process.
This commit is contained in:
@@ -168,3 +168,11 @@ export const getEnvStatus = (data) => {
|
||||
return service.post('/api/simulation/env-status', data)
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量采访 Agent
|
||||
* @param {Object} data - { simulation_id, interviews: [{ agent_id, prompt }] }
|
||||
*/
|
||||
export const interviewAgents = (data) => {
|
||||
return requestWithRetry(() => service.post('/api/simulation/interview/batch', data), 3, 1000)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user