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

Migrate ChatBase to use ChatCraftChat.completion() #820

Open
humphd opened this issue Feb 8, 2025 · 0 comments
Open

Migrate ChatBase to use ChatCraftChat.completion() #820

humphd opened this issue Feb 8, 2025 · 0 comments
Assignees

Comments

@humphd
Copy link
Collaborator

humphd commented Feb 8, 2025

In #819 we're writing a new ChatCraft.completion() method, and we should refactor the logic in https://github.com/tarasglek/chatcraft.org/blob/main/src/Chat/ChatBase.tsx#L205 to use it.

It might be possible to do this in a way that's reusable (e.g., as a hook)? I'm not sure, and that isn't required if it's hard.

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

No branches or pull requests

2 participants