Repository navigation
docs: document openai-compatible as a supported provider - #265
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follows #264 and #261, which found
openai-compatibleused as a main provider while the documentation called it experimental.openai-compatibleis supported next toanthropic, so every page says so or says nothing.providerrow and "Running against your own endpoint" indocs/configuration.md, andchartula.example.yaml. The pointer to the context window section stays, because a local server's window is what a real release on this provider needs first.openai-compatibleout of experimental" is done. The Providers milestone still holds Native local-runner adapter, if the OpenAI-compatible path proves too weak #79, which is conditional on the OpenAI-compatible path proving too weak; whether it returns to the roadmap is left for the roadmap rework.maxOutputTokens: 16000inchartula.example.yamlbecomes32000, the default. At 16,000 a thinking model spent the whole limit on thinking and wrote no text (ChatModelOptions.cs), so the example suggested exactly the value that fails.llm.providerandllm.modelinchartula.yaml, andChartula__Llm__BaseUrlin the environment, with an Ollama example. Neither the model nor the endpoint has a default there (LlmProviderDefaults.cs).OPENAI_API_KEYadded to the environment table indocs/cli.md, withChartula__Llm__ApiKeyEnvironmentVariablefor another variable name.Verified:
git grep -i experimentalfinds nothing in the repository. The documented defaults matchLlmProviderDefaults.csandChatModelOptions.cs; anopenai-compatiblerun without a key is not refused (LlmServiceCollectionExtensions.RequireApiKey), which is why the table says "when the endpoint needs a key".Tests: no test changed; documentation only.