Preparing the Environment
Constraints
| Category | Constraint |
|---|---|
| Tool | This practice supports only CodeArts Agent IDE. |
| OS |
|
| Third-party account | Register accounts on the following official websites: Jira, GitHub, and TestRail. |
Authorizing Automatic Operations on CodeArts Agent
- Log in to CodeArts Agent by referring to Quick Start.
- Select the agent running mode and authorize automatic operations.
- Click
in the upper right corner of CodeArts Agent IDE to open the settings page. - Choose Chats > Agents > Terminal Command Running Mode, select the running policy for the agent to execute terminal commands. This practice uses the default running policy (Running in Sandbox).
- Choose Chats > Auto-approve and click
to enable the required items. After authorization, tasks for generating complex project-level code are executed automatically. Without authorization, some operations will need your manual confirmation when you code with CodeArts Agent.
Enabling auto approval can lead to operational risks. Assess these risks carefully first and only enable this feature in a secure and trustworthy environment.
Table 2 Parameters for auto approval Parameter
Description
Example Value
Edit
Allows the agent to call tools like edit, write, and deleteFile to edit files on your computer.
Enabled
Browser Access
Allows the agent to access websites in the browser.
Enabled
Web Crawler
Allows the agent to access and capture specified web page content.
Enabled
- Exit the current page to complete the authorization.
- Click
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot