mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-04-24 00:04:26 +08:00
(improvement)(Chat) Return agent info after creating agent (#1272)
Co-authored-by: lxwcodemonkey
This commit is contained in:
@@ -24,7 +24,8 @@ public class Text2SQLEval extends BaseTest {
|
||||
|
||||
@BeforeAll
|
||||
public void init() {
|
||||
agentId = agentService.createAgent(getLLMAgent(false), DataUtils.getUser());
|
||||
Agent agent = agentService.createAgent(getLLMAgent(false), DataUtils.getUser());
|
||||
agentId = agent.getId();
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user