Skip to content

Fix embedding async error#328

Merged
codelion merged 2 commits intomainfrom
fix-embedding-async-error
Nov 25, 2025
Merged

Fix embedding async error#328
codelion merged 2 commits intomainfrom
fix-embedding-async-error

Conversation

@codelion
Copy link
Member

resolves #313

Update novelty LLM check to handle calls from both async and sync contexts, using ThreadPoolExecutor when an event loop is running. Add tests to verify correct behavior in both contexts and address issue #313.
@codelion codelion merged commit dc2d49d into main Nov 25, 2025
5 checks passed
@codelion codelion deleted the fix-embedding-async-error branch November 25, 2025 08:34
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.

ERROR - Error in novelty LLM check: asyncio.run() cannot be called from a running event loop

1 participant

Comments