Skip to content

Github Models Support #385

Closed Answered by gs-101
gs-101 asked this question in Q&A
Discussion options

You must be logged in to vote

UPDATE: I got it! It was as simple as setting the host to "models.inference.ai.azure.com", and the endpoint to "/chat/completions/"!

(gptel-make-openai "Github Models"
  :host "models.inference.ai.azure.com"
  :endpoint "/chat/completions"
  :stream t
  :key "$GITHUB_TOKEN"
  :models '("gpt-4o"))

I'll open up a PR as soon as possible!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gs-101
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant