Skip to content
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

Add support for auth-source secret functions to :key argument #111

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

minad
Copy link
Contributor

@minad minad commented Nov 25, 2024

Implements #110

@minad minad temporarily deployed to Continuous Integration November 25, 2024 19:03 — with GitHub Actions Inactive
@minad minad temporarily deployed to Continuous Integration November 25, 2024 19:03 — with GitHub Actions Inactive
@minad minad temporarily deployed to Continuous Integration November 25, 2024 19:03 — with GitHub Actions Inactive
@minad minad had a problem deploying to Continuous Integration November 25, 2024 19:03 — with GitHub Actions Failure
@minad minad temporarily deployed to Continuous Integration November 25, 2024 19:03 — with GitHub Actions Inactive
@minad minad temporarily deployed to Continuous Integration November 25, 2024 19:03 — with GitHub Actions Inactive
@minad minad temporarily deployed to Continuous Integration November 25, 2024 19:03 — with GitHub Actions Inactive
@ahyatt
Copy link
Owner

ahyatt commented Nov 26, 2024

This seems reasonable, thanks for adding it - can you also add it to Claude and Gemini, both of which use keys, plus note it in the README (perhaps with an usage example)?

@gs-101
Copy link
Contributor

gs-101 commented Nov 26, 2024

Also "Implements" is not a PR keyword. Use "close"/"closes" if you want to close #110 automatically :)

@gs-101
Copy link
Contributor

gs-101 commented Nov 26, 2024

Also, now that I joined this discussion, @ahyatt, what do you think about adding a section on GitHub Models? I introduced it to gptel, using it ever since then (and I could do the same here).

It is basically an OpenAI connection to Azure, using a GitHub token as a key.

@ahyatt
Copy link
Owner

ahyatt commented Nov 26, 2024

@gs-101 if you'd like to send a PR about that, that's be welcome, thank you! Is there a relation to this PR, though? Like, is it only possible after we can use auth sources for keys?

@gs-101
Copy link
Contributor

gs-101 commented Nov 26, 2024

@gs-101 if you'd like to send a PR about that, that's be welcome, thank you! Is there a relation to this PR, though? Like, is it only possible after we can use auth sources for keys?

It would certainly help (since it would be easier to keep the key private), but it is not that related. Sorry for adding off-topic messages to the discussion, I just commented on it since I saw an opportunity after I joined the discussion with my previous comment. But I'll open up a PR to keep this unrelated topic from being discussed here.

@ahyatt
Copy link
Owner

ahyatt commented Nov 27, 2024

@minad, if you can't make the changes, I'll merge this in a few days and finish the changes I suggested, which is fine. This would be good to get into the next release.

@minad
Copy link
Contributor Author

minad commented Nov 27, 2024

Thanks. I don't have much time right now.

@ahyatt ahyatt merged commit 315aace into ahyatt:main Nov 28, 2024
6 of 7 checks passed
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