Skip to content

Commit

Permalink
Grammar & Clarity Fixes in Documentation (#298)
Browse files Browse the repository at this point in the history
Hyphenation Fix (examples/agent-kit-langgraph/README.md)

General purpose agent → General-purpose agent (correct compound
adjective usage).
Preposition Fix (guides/add_your_own_tool.md)

Add supporting functions in SolanaAgentKit → Add supporting functions to
SolanaAgentKit (correct preposition).
Article Addition (guides/add_your_own_tool.md)

Define Action class for given tool → Define an Action class for given
tool (correct article usage).
Heading Consistency Fix (guides/add_your_own_tool.md)

### 7. Define Action class for given tool → ### 7. Define an Action
class for given tool (matches corrected phrasing).
  • Loading branch information
michaelessiet authored Feb 26, 2025
2 parents d32f990 + aab6d57 commit 91eaf79
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/agent-kit-langgraph/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This example demonstrates how to build an advanced Solana agent using LangGraph

- Multi-agent architecture using LangGraph's StateGraph
- Specialized agents for different tasks:
- General purpose agent for basic queries (with optional Tavily search integration)
- General-purpose agent for basic queries (with optional Tavily search integration)
- Transfer/Swap agent for transaction operations
- Read agent for blockchain data queries
- Manager agent for routing and orchestration
Expand Down
6 changes: 3 additions & 3 deletions guides/add_your_own_tool.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ Extending the **Solana Agent Kit** with custom tools allows you to add specializ

1. Create a new tool file
2. Export the new tool
3. Add supporting functions in SolanaAgentKit
3. Add supporting functions to SolanaAgentKit
4. Implement the Langchain tool class
5. Export the Langchain tool
6. Export your protocol's langchain tools (if not already exported)
7. Define Action class for given tool
7. Define an Action class for given tool
8. Export Action
9. Use the custom tool

Expand Down Expand Up @@ -87,7 +87,7 @@ export * from "./tiplink";
export * from "./your_protocol"; // Add your protocol here if it's not already in the list
```

### 7. Define Action class for given tool
### 7. Define an Action class for given tool

> `src/actions/your_protocol/custom_action.ts`
```typescript:src/actions/your_protocol/custom_action.ts
Expand Down

0 comments on commit 91eaf79

Please sign in to comment.