Skip to content

Conversation

@ionut-mihalache-uipath
Copy link

Summary

  • Add fetch_llm_discovery function to the LLM Gateway service for fetching available models from the discovery endpoint

Changes

  • Added fetch_llm_discovery(agenthub_config: str) function to _llm_gateway_service.py
  • Exported the function from uipath.platform.chat module

@github-actions github-actions bot added test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-llamaindex Triggers tests in the uipath-llamaindex-python repository labels Jan 19, 2026
"""Initialize the LLM discovery service."""
super().__init__(config=config, execution_context=execution_context)

def get_available_models(self, agenthub_config: str) -> list[dict[str, Any]]:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@radu-mocanu maybe we should make AgentHub service a first-level service? reference #1151

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, good idea

Copy link
Contributor

@radu-mocanu radu-mocanu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#1152 (comment)
this is actually a good idea given we have multiple use cases for ahub.
@ionut-mihalache-uipath let s wait a bit with this PR if possible. I'll expose AgentHub as a platform service and we can rebase on top of it

@radu-mocanu
Copy link
Contributor

#1152 (comment) this is actually a good idea given we have multiple use cases for ahub. @ionut-mihalache-uipath let s wait a bit with this PR if possible. I'll expose AgentHub as a platform service and we can rebase on top of it

#1151

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-llamaindex Triggers tests in the uipath-llamaindex-python repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants