Skip to content
Merged
Changes from 1 commit
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
8 changes: 8 additions & 0 deletions oocana/oocana/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,14 @@ def node_id(self) -> str:
return self.__block_info.stacks[-1].get("node_id", "unknown")
else:
return "none"

@property
def oomol_fusion_api_url(self) -> str:
"""
get the oomol fusion api url from the context.
:return: the oomol fusion api url
Comment thread
leavesster marked this conversation as resolved.
Outdated
"""
return os.getenv("OOMOL_FUSION_API_URL", "")
Comment thread
leavesster marked this conversation as resolved.

@property
def oomol_llm_env(self) -> OOMOL_LLM_ENV:
Expand Down
Loading