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

Different behavior of chattr() vs chattr_app() #92

Closed
michaelgrund opened this issue Apr 24, 2024 · 3 comments
Closed

Different behavior of chattr() vs chattr_app() #92

michaelgrund opened this issue Apr 24, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@michaelgrund
Copy link

The following using chattr_app() runs fine,

library(chattr)
chattr_use("gpt4")
chattr_app()

while using chattr() gives me the following:

library(chattr)
chattr_use("gpt4")
chattr("show me a simple recipe")

and after setting e.g. option 2 the procedure fails. However, it's obvious that the chattr_use() command is ignored here since it is asked again for the model to use afterwards.

@edgararuiz edgararuiz added the bug Something isn't working label May 1, 2024
@edgararuiz
Copy link
Collaborator

Hi @michaelgrund, I'm able to recreate, thank you for reporting it

@edgararuiz
Copy link
Collaborator

Hi @michaelgrund again, I just committed a fix for this, please feel free to try using the dev version:

pak::pak("mlverse/chattr")

@michaelgrund
Copy link
Author

Thanks for fixing @edgararuiz. Now works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants