• erio's avatar
    refactor(upstream): replace upstream account type with apikey, auto-append /antigravity · fb58560d
    erio authored
    Upstream accounts now use the standard APIKey type instead of a dedicated
    upstream type. GetBaseURL() and new GetGeminiBaseURL() automatically append
    /antigravity for Antigravity platform APIKey accounts, eliminating the need
    for separate upstream forwarding methods.
    
    - Remove ForwardUpstream, ForwardUpstreamGemini, testUpstreamConnection
    - Remove upstream branch guards in Forward/ForwardGemini/TestConnection
    - Add migration 052 to convert existing upstream accounts to apikey
    - Update frontend CreateAccountModal to create apikey type
    - Add unit tests for GetBaseURL and GetGeminiBaseURL
    fb58560d
gemini_v1beta_handler.go 23.1 KB