Skip to content

Conversation

@schance995
Copy link

Make conversion thread-safe and concurrent with cancel support.

This commit was generated with AI assistance. Please let me know if any changes should be made.

@tatsumoto-ren
Copy link
Member

👋 Hello! The idea is right. But, as it always happens with AI, the code quality is horrible. It can be improved with some refactoring though. You can try refactoring yourself, or leave it to me.

Make conversion thread-safe and concurrent with cancel support.

Co-authored-by: aider (ollama_chat/gpt-oss) <[email protected]>
@schance995
Copy link
Author

Feel free to refactor it, I would have used joblib, except I didn't want to include another dependency 😄

@tatsumoto-ren
Copy link
Member

Can merge like this if everything is fine.

@tatsumoto-ren
Copy link
Member

@schance995

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.

2 participants