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

feat: Add custom fetch logic for agent #1010

Merged
merged 2 commits into from
Dec 12, 2024

Conversation

v1xingyue
Copy link
Contributor

Background

When user want to see what happend when generate text or image with llm, They may want to what eliza send to llm model endpoint.

What does this PR do?

Mostly llm api has fetch opts which can be passed from agent construtor.

Testing

Where should a reviewer start?

You can run pnpm run start --character

Then you will see custom fetch output.

@v1xingyue v1xingyue changed the title misc. agent custom fetch Miscellaneous: Custom Fetch for Agent Dec 12, 2024
@v1xingyue v1xingyue changed the title Miscellaneous: Custom Fetch for Agent Custom Fetch for Agent Dec 12, 2024
@v1xingyue v1xingyue changed the title Custom Fetch for Agent feat: Add custom fetch logic for agent Dec 12, 2024
@odilitime odilitime changed the base branch from main to develop December 12, 2024 16:50
@odilitime
Copy link
Collaborator

I don't love it but I see the utility and I can't offer anything better. Thanks for the PR.

@odilitime odilitime merged commit 4d5d680 into elizaOS:develop Dec 12, 2024
3 of 4 checks passed
@v1xingyue v1xingyue deleted the patch-custom-fetch branch December 12, 2024 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants