Repository navigation
HAI Proxy onboarding: set up the OpenAI and Gemini APIs too - #322
Merged
Merged
Conversation
The HAI Proxy suggestion now creates one provider per API the proxy offers, all with the entered key: hai-proxy (Anthropic, as before), hai-proxy-openai (Responses API) and hai-proxy-vertex (Gemini with bearer auth). A suggestion therefore holds a list of providers, each with its own models; apply_to does the work on in-memory config so it can be tested without files. The LiteLLM endpoint is left out for now. Refs #184
Requests on the Responses API now ask for `summary: "concise"` and `context: "all_turns"` with every reasoning effort, which until now every GPT model needed in its own config. The HAI Proxy suggestion can give a model its own config: Gemini there gets the tool_config without streamed function-call arguments, which the proxy rejects. Refs #184
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #184.
Onboarding
The SAP Hyperspace AI Proxy suggestion now creates one provider per API the proxy offers, all with the entered key:
hai-proxyanthropic…/anthropic/v1hai-proxy-openaiopenai-responses…/openai/v1hai-proxy-vertexvertex(bearer_auth)…/gemini/v1betatool_configwithout streamed function-call arguments, which the proxy rejects.ProviderSuggestion::apply_toworks on in-memory config, so it is tested without files;apply_suggestiononly reads and writes.GPT reasoning defaults
The
openai-responsesreasoning style now sendssummary: "concise"andcontext: "all_turns"with every effort (instead ofsummary: "auto"), which until now every GPT model needed in its own config. This applies to every Responses API provider, including the ChatGPT subscription.Not verified yet
reasoning.context.