Skip to content
Merged
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
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.
"""
return os.getenv("OOMOL_FUSION_API_URL", "")

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