Skip to content
Open
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: 3 additions & 3 deletions task_manager/byllm/BE/v2/agent_core.jac
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ walker agent {
static has auth: bool = False;
}
def get_node_class(class_name: str) {
main_mod = sys.modules.get("__main__");
main_mod = sys.modules.get("main");
if main_mod and hasattr(main_mod, class_name) {
return getattr(main_mod, class_name, None);
}
Expand Down Expand Up @@ -76,7 +76,7 @@ walker agent {
}
node_inst = node_cls();
visit [-->(`?node_cls)] else {
attached_routed_node = here ++> node_inst;
attached_routed_node = self.session ++> node_inst;
visit attached_routed_node;
}
}
Expand All @@ -103,4 +103,4 @@ walker get_all_sessions {

with entry {
load_dotenv();
}
}