Skip to content

feat/proxy-tweaks#275

Merged
CaelumF merged 8 commits intofeat/proxyfrom
feat/proxy-tweaks
Apr 14, 2026
Merged

feat/proxy-tweaks#275
CaelumF merged 8 commits intofeat/proxyfrom
feat/proxy-tweaks

Conversation

@seafraf
Copy link
Copy Markdown
Collaborator

@seafraf seafraf commented Apr 14, 2026

  • Minor code formatting changes
  • Reverted prototype runtime changes pending the new interface for selecting proxies in the prototype runtime (the prototype runtime should be able to decide which of the defined proxies to use)

@seafraf seafraf requested a review from andri-coral April 14, 2026 10:25

val baseUrl = providerConfig?.baseUrl ?: profile.defaultBaseUrl
val upstreamUrl = "$baseUrl/$subPath"
val upstreamUrl = URLBuilder(baseUrl).appendEncodedPathSegments(pathParts).buildString()
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

👍

sdkBaseUrlEnvVar = "OPENROUTER_BASE_URL");
OPENAI(
"openai", "https://api.openai.com", AuthStyle.Bearer, emptyMap(), OpenAIStrategy,
sdkBaseUrlEnvVar = "OPENAI_BASE_URL", sdkPathSuffix = "sv1"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

sv1 -> /v1

@CaelumF CaelumF merged commit d554db1 into feat/proxy Apr 14, 2026
2 checks passed
@CaelumF CaelumF deleted the feat/proxy-tweaks branch April 14, 2026 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants