Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decouple URLS and API keys in the prompt #9

Open
pkakelas opened this issue Sep 28, 2024 · 0 comments
Open

Decouple URLS and API keys in the prompt #9

pkakelas opened this issue Sep 28, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@pkakelas
Copy link
Member

Is your feature request related to a problem? Please describe.
Currently the Etherscan API key and the RPC URL of the nodes are deep inside the prompt. That makes it hard for people to provide their own RPCs and API keys if needed.

Describe the solution you'd like
Let's decouple them and add them at the end of the file. Also, maybe it makes sense to never post them on the assistant, but substitute them on the fly before running the commands.

Ideally the assistant should send something like cast block --rpc-url YOUR_URL and we would substitute it before running the command.

@pkakelas pkakelas added the enhancement New feature or request label Sep 28, 2024
@pkakelas pkakelas changed the title Decouple URLS and API keys in the prompt. Decouple URLS and API keys in the prompt Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant