| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:358caeef-702b-f2ce-278b-733330ad89fa |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AAF4:2966C8:6928A:85B6B:6AFE420A |
| html-safe-nonce | 47a0edb0c5ebb60bbf3ae234ef9f425cfa1d4a28bd43419dfaed7a58c16fac5f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUY0OjI5NjZDODo2OTI4QTo4NUI2Qjo2QUZFNDIwQSIsInZpc2l0b3JfaWQiOiI2NjA5NDIxMTU4MDkxNDczNDE4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e6a39a3b72ded971a705f80f669c86d94e096d2efb19f770b40d40c0f806a102 |
| hovercard-subject-tag | pull_request:4619711225 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/ycode/ycode/pull/574/files |
| twitter:image | https://avatars.githubusercontent.com/u/19424303?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/19424303?s=400&v=4 |
| og:image:alt | Summary
Adds Ollama as a fifth AI provider, so the agent can run against Ollama Cloud or a self-hosted/OpenAI-compatible endpoint (LM Studio, vLLM, …). Discussed in #573.
Ollama serves OpenAI-compa... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | f1a5901e2377b0af2a0b303f9528678f1475d04b9219dca1e993344196eaa07c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/ycode/ycode git https://github.com/ycode/ycode.git |
| octolytics-dimension-user_id | 65892203 |
| octolytics-dimension-user_login | ycode |
| octolytics-dimension-repository_id | 1165452593 |
| octolytics-dimension-repository_nwo | ycode/ycode |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1165452593 |
| octolytics-dimension-repository_network_root_nwo | ycode/ycode |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c4447fdce9ed0f33af959d2b6680d0bc18212a6a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/ycode/ycode/pull/574/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fycode%2Fycode%2Fpull%2F574%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fycode%2Fycode%2Fpull%2F574%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=ycode%2Fycode |
| Reload | https://github.com/ycode/ycode/pull/574/files |
| Reload | https://github.com/ycode/ycode/pull/574/files |
| Reload | https://github.com/ycode/ycode/pull/574/files |
| ycode | https://github.com/ycode |
| ycode | https://github.com/ycode/ycode |
| Code | https://github.com/ycode/ycode |
| Issues7 (7) | https://github.com/ycode/ycode/issues |
| Pull requests1 (1) | https://github.com/ycode/ycode/pulls |
| Discussions | https://github.com/ycode/ycode/discussions |
| Actions | https://github.com/ycode/ycode/actions |
| Projects | https://github.com/ycode/ycode/projects |
| Security and quality1 (1) | https://github.com/ycode/ycode/security |
| Insights | https://github.com/ycode/ycode/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fycode%2Fycode%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fycode%2Fycode%2Fissues%2Fnew%2Fchoose |
| sj-unit72 | https://github.com/sj-unit72 |
| ycode:develop | https://github.com/ycode/ycode/tree/develop |
| sj-unit72:feat/ollama-provider-hermes | https://github.com/sj-unit72/ycode/tree/feat/ollama-provider-hermes |
|
Conversation
1
| https://github.com/ycode/ycode/pull/574 |
|
Commits
9
| https://github.com/ycode/ycode/pull/574/commits |
|
Checks
0
| https://github.com/ycode/ycode/pull/574/checks |
|
Files changed
| https://github.com/ycode/ycode/pull/574/files |
| Please reload this page | https://github.com/ycode/ycode/pull/574/files |
|
feat(agent): add Ollama as an AI provider
| https://github.com/ycode/ycode/pull/574/files#top |
|
Show all changes
9 commits
| https://github.com/ycode/ycode/pull/574/files |
|
bec39c3
feat(agent): add Ollama as an AI provider
sj-unit72 Sep 23, 2026
| https://github.com/ycode/ycode/pull/574/commits/bec39c37fc01b44005bcbda750ff4b2f2753b86f |
|
335ce93
test(agent): verify Ollama resolution isolation per request
sj-unit72 Sep 23, 2026
| https://github.com/ycode/ycode/pull/574/commits/335ce934439392303115de97b4bc644f2435682e |
|
dea3949
chore(agent): drop scratch Ollama race harnesses
sj-unit72 Sep 23, 2026
| https://github.com/ycode/ycode/pull/574/commits/dea3949ea5abf2feee11a24a5b3411a1dece6b86 |
|
54b6514
fix(agent): validate Ollama Cloud keys against the chat endpoint
sj-unit72 Sep 23, 2026
| https://github.com/ycode/ycode/pull/574/commits/54b651434c2f461e9286c8a4906796cfadb7e528 |
|
5364ff3
test(agent): verify the Ollama-only path through getAgentProvider
sj-unit72 Sep 23, 2026
| https://github.com/ycode/ycode/pull/574/commits/5364ff375d4bc8d30c107b17719989e71ebbff3f |
|
0626d3f
fix(agent): tolerate client disconnects mid-run in the chat SSE route
sj-unit72 Sep 23, 2026
| https://github.com/ycode/ycode/pull/574/commits/0626d3f5f0b59afc5d8cb5528398117446e430ed |
|
cc3c62e
fix(agent): abort a hung provider request at the run deadline
sj-unit72 Sep 23, 2026
| https://github.com/ycode/ycode/pull/574/commits/cc3c62ecb5fef6518b67e155843d1f1f4f0c2cf9 |
|
a45c2a9
chore(tests): use a documentation-range IP in the base-URL cases
sj-unit72 Sep 23, 2026
| https://github.com/ycode/ycode/pull/574/commits/a45c2a9c12eba1fdd1c2fdb82311280786e69061 |
|
2918bc2
style(agent): fix quote style in Ollama verify scripts
sj-unit72 Sep 23, 2026
| https://github.com/ycode/ycode/pull/574/commits/2918bc2a898daab6d39d1b00c05db2489f6cad2d |
|
Clear filters
| https://github.com/ycode/ycode/pull/574/files |
| Please reload this page | https://github.com/ycode/ycode/pull/574/files |
| Please reload this page | https://github.com/ycode/ycode/pull/574/files |
|
route.ts
| https://github.com/ycode/ycode/pull/574/files#diff-3ea517a48a7710507f9f4fb66d647a363c37853a9ee9271b1d4c20115a546d54 |
|
route.ts
| https://github.com/ycode/ycode/pull/574/files#diff-f0cac2f79753c0581abbb69d03a0abba1e2b8d33e6b6904b2498d62be0068742 |
|
route.ts
| https://github.com/ycode/ycode/pull/574/files#diff-b0d73c2a96f97a72cc54cd2c83e67ba0e31f5c41156f58644b761c0a6e78baf3 |
|
AgentKeyForm.tsx
| https://github.com/ycode/ycode/pull/574/files#diff-16e383beb7c50b1223202b161d2a3fc933711b0743b2a04a5ff6db88d2a0ed0f |
|
AiChatPanel.tsx
| https://github.com/ycode/ycode/pull/574/files#diff-e59b380113131a9db69b2709af96e09bb264253c470d7126a2c2ff8c078f7d62 |
|
ChatComposer.tsx
| https://github.com/ycode/ycode/pull/574/files#diff-7d5cec1fd99f7b9b46d60d03116fdb06754f9e65eb4d214474c1c499b39ff0eb |
|
ProviderLogo.tsx
| https://github.com/ycode/ycode/pull/574/files#diff-486a4540c754f39ed62f2955c46519d8b86722956fc666a165c6d87fbe4235d6 |
|
page.tsx
| https://github.com/ycode/ycode/pull/574/files#diff-b071c261bc89aeac939f718f406e3ab143ef0cf32a7abca11a1705a8e05cc891 |
|
icon.tsx
| https://github.com/ycode/ycode/pull/574/files#diff-da1db73679a43c8c9a761b6cdeb6b3c60aaad37182add216609de1304b53daf5 |
|
config.ts
| https://github.com/ycode/ycode/pull/574/files#diff-bccf9917e7ac863fc1070a8ef7b41c5e9835b6ca5ebda3c5dc78328b8c332b3d |
|
models.ts
| https://github.com/ycode/ycode/pull/574/files#diff-32305e093fbea9ecd120c9ff2e8b5097deec7da9006614582a3ace54cb001086 |
|
index.ts
| https://github.com/ycode/ycode/pull/574/files#diff-68747aaef96eaeec9138cf43419df02c0a8ec1e0ff70e2200bd24cfecd83fb3f |
|
ollama.ts
| https://github.com/ycode/ycode/pull/574/files#diff-632f1c004701f5418bcffa80d8a13a23d344d94e25cb990ba6e62f6a3a8f6c10 |
|
runtime.ts
| https://github.com/ycode/ycode/pull/574/files#diff-935dec7b5efa62c58032806f065ee86c40168b7882f9d231586106f54025fb78 |
|
api.ts
| https://github.com/ycode/ycode/pull/574/files#diff-49d517a3c6653cb9108c98a12d14e99f9a88bb5bcbff83a07a9347ef75cfed7d |
|
verify-ollama-end-to-end.ts
| https://github.com/ycode/ycode/pull/574/files#diff-60ecc938d388d8be84c8c2900e0d56b0643235830e9fb48afc72d41283ceebd2 |
|
verify-ollama-key-validation.ts
| https://github.com/ycode/ycode/pull/574/files#diff-56c5e2c630c4d325ad8a3141b073822bff13f1cf2490fe4ee808520be5f6f0d3 |
|
verify-ollama-provider.ts
| https://github.com/ycode/ycode/pull/574/files#diff-cd474b35f46aa316e828e3d72287752b9acc10a62bd64382e2598241db3ff047 |
|
verify-ollama-resolution-isolation.ts
| https://github.com/ycode/ycode/pull/574/files#diff-b2fabef61aa21ff7b3c6229580dbebb0cc6cc97db3e5839f488b60f233ffaad3 |
|
verify-ollama-roundtrip.ts
| https://github.com/ycode/ycode/pull/574/files#diff-84cb24aa93f44ffae20c92c65f8f5aeaff6c552b050047171a419ac2e910dc4b |
|
verify-run-deadline-healthy.ts
| https://github.com/ycode/ycode/pull/574/files#diff-c0056af95d98ecc64ff6bb48b3b8547f257704e58d1ec77656116b2e78fdfbea |
|
verify-run-deadline.ts
| https://github.com/ycode/ycode/pull/574/files#diff-64123e1919ead59b58cff6d3292aa10438a7be09d949f1b587932bd7f50f9aaa |
|
index.ts
| https://github.com/ycode/ycode/pull/574/files#diff-b5c5b3d03297cce43ffb834917bfdc3d10fc8aefa37979c5af23c2205d1bc88c |
|
| https://github.com/ycode/ycode/blob/develop/.github/CODEOWNERS#L1 |
| app/(builder)/ycode/api/ai/chat/route.ts | https://github.com/ycode/ycode/pull/574/files#diff-3ea517a48a7710507f9f4fb66d647a363c37853a9ee9271b1d4c20115a546d54 |
|
View file
| https://github.com/sj-unit72/ycode/blob/2918bc2a898daab6d39d1b00c05db2489f6cad2d/app/(builder)/ycode/api/ai/chat/route.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/ycode/ycode/pull/574/{{ revealButtonHref }} |
|
| https://github.com/ycode/ycode/pull/574/files#diff-3ea517a48a7710507f9f4fb66d647a363c37853a9ee9271b1d4c20115a546d54 |
|
| https://github.com/ycode/ycode/pull/574/files#diff-3ea517a48a7710507f9f4fb66d647a363c37853a9ee9271b1d4c20115a546d54 |
|
| https://github.com/ycode/ycode/pull/574/files#diff-3ea517a48a7710507f9f4fb66d647a363c37853a9ee9271b1d4c20115a546d54 |
|
| https://github.com/ycode/ycode/blob/develop/.github/CODEOWNERS#L1 |
| app/(builder)/ycode/api/settings/agent/route.ts | https://github.com/ycode/ycode/pull/574/files#diff-f0cac2f79753c0581abbb69d03a0abba1e2b8d33e6b6904b2498d62be0068742 |
|
View file
| https://github.com/sj-unit72/ycode/blob/2918bc2a898daab6d39d1b00c05db2489f6cad2d/app/(builder)/ycode/api/settings/agent/route.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/ycode/ycode/pull/574/{{ revealButtonHref }} |
|
| https://github.com/ycode/ycode/pull/574/files#diff-f0cac2f79753c0581abbb69d03a0abba1e2b8d33e6b6904b2498d62be0068742 |
|
| https://github.com/ycode/ycode/pull/574/files#diff-f0cac2f79753c0581abbb69d03a0abba1e2b8d33e6b6904b2498d62be0068742 |
|
| https://github.com/ycode/ycode/pull/574/files#diff-f0cac2f79753c0581abbb69d03a0abba1e2b8d33e6b6904b2498d62be0068742 |
|
| https://github.com/ycode/ycode/pull/574/files#diff-f0cac2f79753c0581abbb69d03a0abba1e2b8d33e6b6904b2498d62be0068742 |
|
| https://github.com/ycode/ycode/pull/574/files#diff-f0cac2f79753c0581abbb69d03a0abba1e2b8d33e6b6904b2498d62be0068742 |
|
| https://github.com/ycode/ycode/pull/574/files#diff-f0cac2f79753c0581abbb69d03a0abba1e2b8d33e6b6904b2498d62be0068742 |
|
| https://github.com/ycode/ycode/pull/574/files#diff-f0cac2f79753c0581abbb69d03a0abba1e2b8d33e6b6904b2498d62be0068742 |
|
| https://github.com/ycode/ycode/pull/574/files#diff-f0cac2f79753c0581abbb69d03a0abba1e2b8d33e6b6904b2498d62be0068742 |
|
| https://github.com/ycode/ycode/pull/574/files#diff-f0cac2f79753c0581abbb69d03a0abba1e2b8d33e6b6904b2498d62be0068742 |
|
| https://github.com/ycode/ycode/pull/574/files#diff-f0cac2f79753c0581abbb69d03a0abba1e2b8d33e6b6904b2498d62be0068742 |
|
| https://github.com/ycode/ycode/pull/574/files#diff-f0cac2f79753c0581abbb69d03a0abba1e2b8d33e6b6904b2498d62be0068742 |
|
| https://github.com/ycode/ycode/pull/574/files#diff-f0cac2f79753c0581abbb69d03a0abba1e2b8d33e6b6904b2498d62be0068742 |
| Please reload this page | https://github.com/ycode/ycode/pull/574/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |