Skip to content

Commit

Permalink
fix(devti): migrate test data generation action to use AI
Browse files Browse the repository at this point in the history
The test data generation action has been refactored to leverage AI capabilities for more efficient and customizable data generation. This change includes updating the action ID, class name, and package to reflect the new 'devti' (development tooling) module, and integrating the action with the 'ChatActionType' for seamless integration with our AI-based chat system.
  • Loading branch information
phodal committed Mar 13, 2024
1 parent 3f2a973 commit c5fa199
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/222/main/resources/META-INF/autodev-core.xml
Expand Up @@ -216,8 +216,8 @@
description="Ask AI write this code">
</action>

<action id="cc.unitmesh.idea.actions.GenTestDataAction"
class="cc.unitmesh.idea.actions.GenTestDataAction" text="Generate Test Data (APIs)"
<action id="cc.unitmesh.devti.actions.chat.GenTestDataAction"
class="cc.unitmesh.devti.actions.chat.GenTestDataAction" text="Generate Test Data (APIs)"
description="Ask AI generate test data">

<add-to-group group-id="GenerateGroup" anchor="last"/>
Expand Down
4 changes: 2 additions & 2 deletions src/233/main/resources/META-INF/autodev-core.xml
Expand Up @@ -221,8 +221,8 @@
description="Ask AI write this code">
</action>

<action id="cc.unitmesh.idea.actions.GenTestDataAction"
class="cc.unitmesh.idea.actions.GenTestDataAction" text="Generate Test Data (APIs)"
<action id="cc.unitmesh.devti.actions.chat.GenTestDataAction"
class="cc.unitmesh.devti.actions.chat.GenTestDataAction" text="Generate Test Data (APIs)"
description="Ask AI generate test data">

<add-to-group group-id="GenerateGroup" anchor="last"/>
Expand Down
@@ -1,4 +1,4 @@
package cc.unitmesh.idea.actions
package cc.unitmesh.devti.actions.chat

import cc.unitmesh.devti.actions.chat.base.ChatBaseAction
import cc.unitmesh.devti.gui.chat.ChatActionType
Expand Down

0 comments on commit c5fa199

Please sign in to comment.