fix: trace processing text
This commit is contained in:
parent
eb704bf23f
commit
a2edacc271
1 changed files with 1 additions and 0 deletions
|
|
@ -140,6 +140,7 @@ class LLMProcessor:
|
||||||
print(f"Error during text processing: {task.exception()}")
|
print(f"Error during text processing: {task.exception()}")
|
||||||
|
|
||||||
async def _process_text_async(self, text: str, callback: Optional[Callable[[str], None]] = None):
|
async def _process_text_async(self, text: str, callback: Optional[Callable[[str], None]] = None):
|
||||||
|
print("trace: starting to process text")
|
||||||
"""Process text asynchronously."""
|
"""Process text asynchronously."""
|
||||||
try:
|
try:
|
||||||
if not self.anthropic or not self.session:
|
if not self.anthropic or not self.session:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue