feat: RAG changes added for OCA#2
Open
Chai77 wants to merge 11 commits into
Open
Conversation
- Implement OCA API handler (src/core/api/providers/oca.ts) - OpenAI-compatible chat.completions with custom fetch injecting OCA headers - Optional reasoning (thinking) budget and ephemeral prompt caching - LiteLLM session tracking and usage streaming; cost via /spend/calculate - Guarded client init; clear error when OCA access token is missing - Wire provider into core API and controller - Register provider (src/core/api/index.ts) - Controller flows for OCA account login/logout and auth status subscription - refreshOcaModels command and model config plumbing - Add protobuf surfaces - proto/cline/models.proto and proto/cline/ocaAccount.proto - Extend proto/cline/state.proto for settings/state - Persist settings/state and helpers - Update StateManager, state-keys, state-helpers, updateSettings - Misc - Add changeset entry - Minor .gitignore and commit-message generator tweak
nihar-oracle
force-pushed
the
feat/nturumel/oca-provider
branch
2 times, most recently
from
September 15, 2025 14:31
751b4ce to
fb018ca
Compare
nihar-oracle
force-pushed
the
feat/nturumel/oca-provider
branch
3 times, most recently
from
September 16, 2025 14:18
e4178b9 to
ade7d2d
Compare
nihar-oracle
force-pushed
the
feat/nturumel/oca-provider
branch
7 times, most recently
from
September 17, 2025 03:37
71aa8c4 to
a8557fc
Compare
nihar-oracle
force-pushed
the
feat/nturumel/oca-provider
branch
7 times, most recently
from
September 19, 2025 02:33
d414eaa to
90df576
Compare
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.
RAG changes for OCA. Adding vector_store/list and ability to add vector_store