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

Truss Predict -d error #750

Open
Yitzkak opened this issue Nov 26, 2023 · 2 comments
Open

Truss Predict -d error #750

Yitzkak opened this issue Nov 26, 2023 · 2 comments

Comments

@Yitzkak
Copy link

Yitzkak commented Nov 26, 2023

Whenever I write truss predict -d '"String here"' I get this error.
─────────────────────────────────────────
Request data must be valid json.

To Reproduce
run truss predict -d '"String Here"'

Expected behavior
I am supposed to get the string back according to the documentation

Screenshots/Logs
Screenshot (16)

Desktop (please complete the following information):

  • OS: Windows
  • Environment versions: Python 3.11
  • Truss version: truss, version 0.7.18

Additional context
Add any other context about the problem here.

@squidarth
Copy link
Collaborator

Hi @Yitzkak -- thanks for reporting! I just tried reproducing this, and could not on Mac or Linux -- will try getting ahold of a windows VM to test on.

@Yitzkak
Copy link
Author

Yitzkak commented Nov 27, 2023 via email

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