这是indexloc提供的服务,不要输入任何密码
Skip to content

gollm: experiment with supporting richer "LLM URIs" #388

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

justinsb
Copy link
Collaborator

@justinsb justinsb commented Jul 4, 2025

Only for ollama initially.


defaultModel := defaultOllamaModel
if opts.URL != nil {
defaultModel = opts.URL.Query().Get("model")
Copy link
Member

Choose a reason for hiding this comment

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

hmm...we should only override the defaultModel if the url has model query parameter.. .right ? or am I missing something.

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.

2 participants