Skip to content

feat: RAG changes added for OCA#2

Open
Chai77 wants to merge 11 commits into
nihar-oracle:feat/nturumel/oca-providerfrom
Chai77:ceranki/rag-changes
Open

feat: RAG changes added for OCA#2
Chai77 wants to merge 11 commits into
nihar-oracle:feat/nturumel/oca-providerfrom
Chai77:ceranki/rag-changes

Conversation

@Chai77

@Chai77 Chai77 commented Sep 11, 2025

Copy link
Copy Markdown

RAG changes for OCA. Adding vector_store/list and ability to add vector_store

nihar-oracle and others added 2 commits September 9, 2025 13:04
- 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
nihar-oracle force-pushed the feat/nturumel/oca-provider branch 2 times, most recently from 751b4ce to fb018ca Compare September 15, 2025 14:31
@nihar-oracle
nihar-oracle force-pushed the feat/nturumel/oca-provider branch 3 times, most recently from e4178b9 to ade7d2d Compare September 16, 2025 14:18
@nihar-oracle
nihar-oracle force-pushed the feat/nturumel/oca-provider branch 7 times, most recently from 71aa8c4 to a8557fc Compare September 17, 2025 03:37
@nihar-oracle
nihar-oracle force-pushed the feat/nturumel/oca-provider branch 7 times, most recently from d414eaa to 90df576 Compare September 19, 2025 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants