Skip to content

Supprting change LLM (Azure OpenAI、Deepseek) for Host Agent #45

Description

@CZH-THU

Is your feature request related to a problem? Please describe.

No response

Describe the solution you'd like

Support change LLM like Azure OpenAI、Deepseek V3 for Host Agent

Describe alternatives you've considered

No response

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. CZH-THU commented on May 7, 2025

    @CZH-THU
    ContributorAuthor

    Supprting change LLM (Azure OpenAI、Deepseek) for Host Agent NOT just A2A server Agent

  2. oliverlabs commented on May 12, 2025

    @oliverlabs
    Contributor

    I have implemented the support of Azure OpenAI with Semantic Kernel here if you're interested @CZH-THU. Happy to create a PR, but it is just an SK documentation feature (vs OpenAI that's currently provided in the example)

  3. flystar32 commented on May 21, 2025

    @flystar32

    just refer to https://google.github.io/adk-docs/agents/models/#using-open-local-models-via-litellm

    def create_agent(self, model_name: str = "qwen2.5:7b", ollama_url: str = "http://localhost:11434") -> LlmAgent:
        return LlmAgent(
            model=LiteLlm(
                model=f"ollama/{model_name}",
                api_base=ollama_url,
                api_key="ollama",
            ),
            name='host_agent',
            instruction=self.root_instruction,
            before_model_callback=self.before_model_callback,
            description=(
                'This agent orchestrates the decomposition of the user request into'
                ' tasks that can be performed by the child agents.'
            ),
            tools=[
                self.list_remote_agents,
                self.send_task,
            ],
        )
    
  4. oliverlabs commented on May 21, 2025

    @oliverlabs
    Contributor

    @flystar32 , can you look at a2aproject/A2A#505? I have implemented Azure OpenAI support there.

  5. transferred this issue froma2aproject/A2Aon May 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions