Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion agent/component/iterationitem.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def output_collation(self):
if p._id != pid:
continue

if p.component_name.lower() in ["categorize", "message", "switch", "userfillup", "interationitem"]:
if p.component_name.lower() in ["categorize", "message", "switch", "userfillup", "iterationitem"]:
continue

for k, o in p._param.outputs.items():
Expand Down
2 changes: 1 addition & 1 deletion rag/raptor.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ async def _embedding_encode(self, txt):
return response
embds, _ = await thread_pool_exec(self._embd_model.encode, [txt])
if len(embds) < 1 or len(embds[0]) < 1:
raise Exception("Embedding error: ")
raise Exception("Embedding error: empty embeddings returned")
embds = embds[0]
await thread_pool_exec(set_embed_cache, self._embd_model.llm_name, txt, embds)
return embds
Expand Down
Loading