Skip to content

Commit

Permalink
refinements
Browse files Browse the repository at this point in the history
  • Loading branch information
stat committed Jan 23, 2025
1 parent cef3cd7 commit 4f0d8f1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@

from cdp_agentkit_core.actions import CdpAction

# TODO: ask John what he thinks about standardizing responses to be the json API responses
ADDRESS_REPUTATION_PROMPT = """
This tool checks the reputation of an address on a given network. It takes:
- network: The network the address is on (e.g. "base-sepolia")
- network: The network the address is on (e.g. "base-mainnet")
- address: The Ethereum address to check
and returns:
Important notes:
- This tool will not currently work on base-sepolia
"""


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ import { CdpAction } from "./cdp_action";
const ADDRESS_REPUTATION_PROMPT = `
This tool checks the reputation of an address on a given network. It takes:
- network: The network to check the address on (e.g. "base-sepolia")
- network: The network to check the address on (e.g. "base-mainnet")
- address: The Ethereum address to check
Important notes:
- This tool will not currently work on base-sepolia
`;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ describe("Address Reputation Action", () => {
ens_contract_interactions: 2,
smart_contract_deployments: 1,
},
// TODO: ask John if there is a better way...

// TODO: remove this once AddressReputation is exported from the sdk
// eslint-disable-next-line @typescript-eslint/no-explicit-any
} as unknown as jest.Mocked<any>;

Expand Down

0 comments on commit 4f0d8f1

Please sign in to comment.