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

__init__() got an unexpected keyword argument 'summary' #52

Open
edujavrod opened this issue Apr 4, 2024 · 7 comments
Open

__init__() got an unexpected keyword argument 'summary' #52

edujavrod opened this issue Apr 4, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@edujavrod
Copy link

Getting the error in subject line when trying to sync. Let me know what you think is the issue. Thanks!

@avf313
Copy link

avf313 commented Apr 19, 2024

I'm getting the same error

@avf313
Copy link

avf313 commented Apr 19, 2024

@alexbowe

@johnsidi
Copy link

I'm getting the same error also!

@alexbowe
Copy link
Collaborator

alexbowe commented Jun 24, 2024

Thanks for trying Smoothbrain out, and for reporting this issue.

At the time this was written, OpenAI had a different API, and didn't support "function calling", which might be the reason there is no "summary" keyword (either the api call is erroring, or the LLM is not behaving).

But that's a wild guess. Is there any other information that appears? I think (it's been a while, sorry) Smoothbrain creates a log file in the Anki directory... is anyone able to find and provide that?

Also, I am currently focusing on a job search, so there will be some delay in me getting to this. PRs are welcome!

@alexbowe alexbowe added the bug Something isn't working label Jun 24, 2024
@johnsidi
Copy link

I have just tried to install smoothbrain for the first time and I got this error after pressing "Sync to Readwise".

In my log file I have the following entries:

{"timestamp": 1719255301.235559, "level": "INFO", "logger": "smoothbrain", "message": "Logger ready!"}
{"timestamp": 1719255326.391893, "level": "INFO", "logger": "smoothbrain.readwise", "message": "Exporting Readwise data"}
{"timestamp": 1719255326.392652, "level": "DEBUG", "logger": "smoothbrain.readwise", "message": "Making Readwise export API request with params={}"}

Thanks in advance :-)

@johnsidi
Copy link

I would like also to report that nothing has been imported to Anki.

@roner360
Copy link

roner360 commented Nov 2, 2024

I'm having the same issue. Any update?
Thanks!

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

5 participants