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

Fix example in README #15

Closed
wants to merge 1 commit into from
Closed

Fix example in README #15

wants to merge 1 commit into from

Conversation

juananpe
Copy link
Contributor

File class has been moved to codeinterpreterapi.schema

@shroominic
Copy link
Owner

shroominic commented Jul 17, 2023

Just published v0.0.6 where I changed this to make it easier to import.
But still thanks for trying to fix! :)

@shroominic shroominic closed this Jul 17, 2023
@juananpe
Copy link
Contributor Author

juananpe commented Jul 17, 2023

Just published v0.0.6 where I changed this to make it easier to import. But still thanks for trying to fix! :)

Fine, but I think that the README is still using the wrong version:

from codeinterpreterapi import CodeInterpreterSession, File

(File class should be imported from codeinterpreterapi.schema, shouldn't it?)

@shroominic
Copy link
Owner

I just moved it up in the import interface so its easier accessible but you can still use it through codeinterpreterapi.schemaif you prefer.

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.

None yet

2 participants