Repository navigation
feat(freemilk): add experimental Google-login provider - #677
Merged
Merged
Conversation
Sign in with Google through a loopback callback, exchange the identity token at api.milq.ai, and stream the hosted chat models through ai.milq.ai.
Replace the pinned catalog with GET /auth/models so new hosted chat models show up without a client change. Responses and Anthropic formats stay out until the adapter speaks those wires.
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.
Summary
api.milq.ai, and the session refreshes with the stored refresh token.glm-5.3-flash,deepseek-v4.1-flash,kimi-k3.1-pro) throughai.milq.ai, sending the catalogx-milq-modeheader.Responses and Anthropic hosted models are not wired yet. Login has not been exercised against a live Google account; the chat wire was taken from a local FreeMilk session.
Test plan
go test ./internal/providers/freemilk/ ./internal/providers/ ./internal/app/ ./internal/control/