cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Administration & Architecture
Explore discussions on Databricks administration, deployment strategies, and architectural best practices. Connect with administrators and architects to optimize your Databricks environment for performance, scalability, and security.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Managed Omnigent on Databricks can't use external model providers (Az OpenAI,Gemini)in Unity Gateway

Danish11052000
Contributor
Setup
  • Azure Databricks workspace with the Omnigent and Databricks Sandbox previews enabled.
  • Unity Gateway has two external providers registered as model provider services: Azure OpenAI and Gemini Enterprise.
  • Both work when called directly through /ai-gateway/... with the Databricks-Model-Provider-Service header.

The problem

  • Omnigent's model picker lists only system.ai.* models. The external providers never appear, so they can't be used inside Omnigent.
  • They also don't show in serving-endpoints list, because model provider services are a separate Unity Catalog object type.

What I found

  • Omnigent code (open-source main):
    • Model discovery is hardcoded to the system.ai schema, and any ID that doesn't start with system.ai. is dropped.
    • The code has no support for model provider services or the Databricks-Model-Provider-Service header.
    • There is no config field for custom headers, and no custom catalog or schema setting.
  • ug <agent> --provider <provider> fails on first launch with "agent is not available on this workspace".
    • The auto-configure step doesn't pass --provider through.
    • It checks for a native foundation-model endpoint, which this workspace doesn't have.
  • The admin coding-agent configuration is documented for ug, and I found no page linking it to Omnigent.

Questions

  1. Is there a supported way to make managed Omnigent use Unity Gateway model provider services?
  2. Is that support planned for the model picker, sandbox runners and Smart Routing?
  3. Is the ug --provider first-launch behaviour a known bug?

#Omnigent #AI #databricks #unitygateway #modelserving

 

1 REPLY 1

anuj_lathi
Databricks Employee
Databricks Employee

Short answer: from what you've traced, there's no supported way today to point managed Omnigent at Unity Gateway model provider services. Both the model picker and the ug auto-configure path are scoped to system.ai foundation-model endpoints. Since both features are in Preview, please treat this as a feature gap to raise, not something a config change can fix.

1. Is there a supported way?

I don't know of one, and your findings fit that. If model discovery drops any ID outside system.ai. and there's no custom header, catalog or schema setting, nothing on the user side can change what the picker lists. Model provider services are their own Unity Catalog object type, so they won't show up in serving-endpoints list either. That's expected, not a misconfiguration on your side.

Don't try to work around it by wrapping the providers as serving endpoints and hoping the picker lists them. With discovery hardcoded to system.ai, that's unlikely to help.

2. Is it planned for the picker, sandbox runners and Smart Routing?

I can't give you roadmap commitments on a forum, and I wouldn't want to guess at dates for Preview features. Your account team or Databricks support can get you a real answer from the product team. Ask for all three surfaces explicitly (model picker, sandbox runners, Smart Routing), because they may not ship together. Be specific about the requirement: "Omnigent must be able to select Unity Gateway model provider services and send the Databricks-Model-Provider-Service header."

3. Is the ug --provider first-launch failure a known bug?

I can't confirm it as a tracked issue. Your diagnosis is plausible, though. If auto-configure doesn't forward --provider and instead checks for a native foundation-model endpoint, you'd get exactly the "agent is not available on this workspace" error on a workspace without one. I'd report it as a bug and not just a feature request, since the flag is accepted but then ignored during setup.

What you'd put in the support ticket

  • Workspace cloud and region (Azure), plus the ug version.
  • The exact command (ug <agent> --provider <provider>) and the full error output.
  • Confirmation that the same provider works through /ai-gateway/... with the Databricks-Model-Provider-Service header, which isolates the problem to the client and auto-configure layer.
  • Which Preview features are enabled (Omnigent, Databricks Sandbox).
  • The two behaviours you found: system.ai.-only discovery and no --provider passthrough.

What you'd do in the meantime

  • Keep using the gateway directly (/ai-gateway/... with the provider header) for anything that has to hit Azure OpenAI or Gemini Enterprise.
  • If your agent or client lets you set a base URL and custom headers, configure it by hand against the gateway and skip ug auto-configure. That bypasses the endpoint check you're hitting. It only works if the agent supports custom headers, and I wouldn't assume that for Omnigent given what you found in the code.
  • Use system.ai.* models inside Omnigent until provider-service support lands.
Anuj Lathi
Solutions Engineer @ Databricks