Skip to content

Commit 72a713b

Browse files
committed
refactored, to move github actions to githubActions.ts in actions folder... still works.
1 parent 5a75db9 commit 72a713b

File tree

5 files changed

+652
-590
lines changed

5 files changed

+652
-590
lines changed
+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Code Assistant Plugin
2+
3+
This plugin provides code assistance functionality for Eliza, split into two main components:
4+
5+
## Actions
6+
7+
### Code Assistant (codeAssistant.ts)
8+
9+
- Handles general code-related queries
10+
- Performs vector search on documentation
11+
- Delegates GitHub-specific queries to GitHub Action
12+
13+
### GitHub Assistant (githubActions.ts)
14+
15+
- Handles all GitHub-related queries
16+
- Manages GitHub API interactions
17+
- Processes PRs and Issues
18+
- Includes timeout and retry logic
19+
20+
## Usage
21+
22+
The plugin automatically routes queries to the appropriate handler:
23+
24+
1. GitHub-related queries are handled by githubAction
25+
2. General code queries are handled by codeAssistantAction
26+
3. All responses are saved to memory for future reference
27+
28+
## Error Handling
29+
30+
- Includes timeout protection
31+
- Maximum retry attempts for LLM
32+
- Fallback to knowledge search when GitHub data is unavailable

0 commit comments

Comments
 (0)