Skip to content
This repository was archived by the owner on Jun 22, 2026. It is now read-only.
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
6 changes: 5 additions & 1 deletion deepdoc_client_action/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,8 @@
- Updated DeepDoc pager filter and added collection_id as fk ref to localize its listing to specific collection. Useful for multi-agent setups.

# 0.1.5
- Optimized DeepDoc get_job_id with node_get utility
- Optimized DeepDoc get_job_id with node_get utility

# 0.1.6
- Patched to process URLs
- Added import and export collections to DeepDocClientAction
25 changes: 12 additions & 13 deletions deepdoc_client_action/add_documents.jac
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,8 @@ walker add_documents(agent_graph_walker) {
}

# iterate through all files and read their content
file_list = [];
if self.files {

file_list = [];
loop = asyncio.new_event_loop();
asyncio.set_event_loop(loop);
try {
Expand All @@ -80,19 +79,19 @@ walker add_documents(agent_graph_walker) {
} finally {
loop.close();
}

self.response = here.queue_job(
urls=self.urls,
files=file_list,
metadatas=self.metadatas,
from_page=self.from_page,
to_page=self.to_page,
lang=self.lang,
with_embeddings=self.with_embeddings,
callback_url=callback_url
);
}

self.response = here.queue_job(
urls=self.urls,
files=file_list,
metadatas=self.metadatas,
from_page=self.from_page,
to_page=self.to_page,
lang=self.lang,
with_embeddings=self.with_embeddings,
callback_url=callback_url
);

if self.reporting {
report self.response;
}
Expand Down
Loading