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

refactor: client api #1713

Merged
merged 4 commits into from
Jan 4, 2025

Conversation

aalimsahin
Copy link
Contributor

Relates to:

N/A (Refactor)

Risks

Low. Only refactored code structure by modularizing mutations and queries. No new functionality was added or existing functionality altered.

Background

The client is in the early stage, but if we create its general modular structure, it will be more readable and smoother during further development.

What does this PR do?

Creates a structure for React query.

What kind of change is this?

Improvements

Documentation changes needed?

My changes do not require a change to the project documentation.

Testing

Where should a reviewer start?

  • Clone the branch of PR
  • Run 'pnpm install && pnpm build'
  • Run API with 'pnpm start'
  • Run client in different terminal page with 'pnpm start:client'

Detailed testing steps

  • Open client from browser in http://localhost:5173/
  • You should see Eliza agent as an option. If it works, the query is working
  • Choose Eliza and click chat from the sidebar
  • Send some message to test mutation. If it works, the mutation is working

Discord username

aalimsahin

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @aalimsahin! Welcome to the ai16z community. Thanks for submitting your first pull request; your efforts are helping us accelerate towards AGI. We'll review it shortly. You are now a ai16z contributor!

@aalimsahin aalimsahin changed the base branch from main to develop January 3, 2025 00:26
@aalimsahin aalimsahin changed the title Refactor/client react query refactor: client api Jan 3, 2025
@shakkernerd shakkernerd merged commit 395c2d6 into elizaOS:develop Jan 4, 2025
3 checks passed
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