Skip to content

Share provider adapter and search logic across duplicated code paths - #855

Closed
Gustav-Simonsson wants to merge 7 commits into
corbitsdev:mainfrom
Gustav-Simonsson:refactor
Closed

Share provider adapter and search logic across duplicated code paths#855
Gustav-Simonsson wants to merge 7 commits into
corbitsdev:mainfrom
Gustav-Simonsson:refactor

Conversation

@Gustav-Simonsson

Copy link
Copy Markdown

Summary

  • Consolidates the grok, openai, and codex responses adapters into a single shared module, with the xAI and Codex OAuth flows using the shared provider factory.
  • Extracts shared utilities for code that previously lived in two places: the SSE null-delta patch (openai-compatible
    and opencode adapters), the capped response-body reader (web_fetch and the Go model catalog), the lexical search
    ranker (tool, skill, and agent search), and the provider-catalog refresh (TUI connect and Go prefetch).

@Gustav-Simonsson

Copy link
Copy Markdown
Author

Closing as easier to redo given some pending fixes address part of this refactor.

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.

1 participant