Commit 17984d0
committed
fix: use proper headers for GitHub models API call
Previously, headers were hardcoded in the get_models function which made the
code less flexible. This change passes headers as a parameter, allowing for
proper header configuration when making API calls to the GitHub models
endpoint.1 parent 9d8bc8a commit 17984d0
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | | - | |
| 239 | + | |
240 | 240 | | |
241 | | - | |
242 | | - | |
243 | | - | |
| 241 | + | |
244 | 242 | | |
245 | 243 | | |
246 | 244 | | |
| |||
0 commit comments