goose icon indicating copy to clipboard operation
goose copied to clipboard

feat(githubcopilot): add ability to fetch supported models

Open gugahoi opened this issue 6 months ago • 2 comments

This PR introduces a new function fetch_supported_models_async to the GithubCopilotProvider. This function makes an API call to the /models endpoint of the GitHub Copilot service to retrieve a list of currently supported model identifiers.

gugahoi avatar May 29 '25 05:05 gugahoi

The list of providers displays correctly on cli. The UI doesn't really allow Copilot configuration so I've not made any changes there. I can filter the list further if necessary, as I believe we should only be showing models that can do tool calling. Please let me know.

image

gugahoi avatar May 29 '25 05:05 gugahoi

@taniashiba this would be a great addition for copilot (which seems to be a popular choice of provider)

rockwotj avatar Jun 05 '25 11:06 rockwotj

hey @gugahoi - can you do the https://github.com/block/goose/pull/2717/checks?check_run_id=45941194620 so we can merge this? sorry about the slow reaction and overhead

DOsinga avatar Jul 15 '25 16:07 DOsinga

hey @gugahoi - can you do the https://github.com/block/goose/pull/2717/checks?check_run_id=45941194620 so we can merge this? sorry about the slow reaction and overhead

No worries, I've added the sign off to the commit.

gugahoi avatar Jul 16 '25 01:07 gugahoi

@DOsinga in case you didn't see my reply ^^

gugahoi avatar Jul 17 '25 23:07 gugahoi

@DOsinga @taniashiba any changes needed to get this merged?

gugahoi avatar Jul 29 '25 00:07 gugahoi