730115b418
Extracted from: https://github.com/itszhaoziyan-n/AgentKit.git Score: 1.0
11 lines
593 B
Markdown
11 lines
593 B
Markdown
# Examples: code-review-agent
|
|
|
|
## Usage Example
|
|
|
|
```python
|
|
# How to use this skill
|
|
# Inputs: Repository diff or code changeset (string), User ID (string)
|
|
# Process: Step 1: Build the code review graph using `build_graph()` from `agentkit.workflow.code_review.graph` → Step 2: Invoke the graph with initial parameters including the repository diff and user ID, and set thread_id as a configurable parameter → Step 3: The graph processes the input through various steps until completion or human approval is needed
|
|
# Outputs: Review result (dictionary containing messages, issues, etc.)
|
|
```
|