Skip to content

docs: add API Route AI service configuration - #2767

Merged
love-linger merged 1 commit into
sourcegit-scm:developfrom
DennyHo0917:docs/api-route-service
Oct 9, 2026
Merged

love-linger merged 1 commit into
sourcegit-scm:developfrom
DennyHo0917:docs/api-route-service

Conversation

@DennyHo0917

Copy link
Copy Markdown

Add an API Route configuration example to the README's existing OpenAI-compatible AI service section, following Cheaper Inference in #2755 and OrcaRouter in #2658.

I maintain API Route. This contribution was prepared with AI assistance.

The entry documents the Server URL, user-supplied key, an example model subject to account access, and the public API documentation. It reuses the existing configurable service and adds no application code or dependencies. This PR targets develop as requested in the README.

Validation on 2026-10-08:

  • Authenticated /v1/models discovery returned 60 models, including the documented gpt-6.1-sol example.
  • Using the Python OpenAI SDK with the same endpoint and GetDetailChangesInFile function schema from src/AI/ChatTools.cs, a sample changed-file prompt caused a tool call for example.py. After supplying a synthetic diff as the tool result, the model returned feat: update greeting message.
  • git diff --check passed. The test key was not persisted or committed.

This was an API-level compatibility check, not a SourceGit desktop UI or .NET SDK run. No build was run for this seven-line documentation-only change.

@love-linger love-linger self-assigned this Oct 9, 2026
@love-linger love-linger added the documentation Improvements or additions to documentation label Oct 9, 2026
@love-linger
love-linger merged commit 554bfaa into sourcegit-scm:develop Oct 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants