Feat/codemap pr - #565
Merged
Merged
Conversation
* refactor chat streaming * update `_is_token_limit_error` logic * test: add chat provider unittests * move `_is_token_limit_error` to module level * remove unnecessary TYPE_CHECKING * add EOF * update prompt function
* patch: patch adalflow OllamaClient to support batch embedding api. related to SylphAI-Inc/AdalFlow#496 * remove `OllamaDocumentProcessor`
* refactor chat streaming * update `_is_token_limit_error` logic * test: add chat provider unittests * move `_is_token_limit_error` to module level * remove unnecessary TYPE_CHECKING * add EOF * update prompt function * refactor `websocket_wiki.py` using `ChatStreamer` * remove unnecessary imports * add litellm test * update kwargs in `GoogleGenerativeChatStreamer`
# Conflicts: # api/websocket_wiki.py
# Conflicts: # api/chat/_stream.py # api/config.py # api/simple_chat.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
…dition. (ai generated)
…nk to share the same page without overlapping each other.
* refactor: add Repo type * add repo schema * fix: fix import path * add prepare_index in frontend. (ai generated) * update preparing indexing in different languages. (ai generated) * update preparing indexing in different languages. (ai generated) * update preparing indexing in different languages. (ai generated)
* fix frontend parsing generated wiki. * fix frontend parsing generated wiki.
# Conflicts: # api/chat/_stream.py # api/chat_model.py # api/clients/__init__.py # api/clients/litellm.py # api/config.py # api/data_pipeline.py # api/poetry.lock # api/rag.py # api/simple_chat.py # api/websocket_wiki.py # src/components/Ask.tsx
Contributor
|
Caution The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased. |
This was referenced Jul 30, 2026
Collaborator
Author
|
Hi @sng-asyncfunc, Heads-up that this PR is fairly large — it bundles the new Codemap feature together with a broader backend refactor and a few fixes, so it may feel a bit overwhelming to review in one pass. Any feedback is very welcome ~ |
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.
Summary
Features
Codemap Generation (AI genrated) (fix #396)
analyzing code->generating initial codemap->generating diagrams & guides, each streamed as NDJSON events.LineTrackingTextSplitter: attaches correct start -> end line to each chunk.CodeMap,CodeMapSection,CodeMapStep,CodeMapCitation,CodeMapRequestCodeMap.tsx,CodeViewer.tsxand the/api/repo/prepareroute;Ask.tsxgains ahandleCodemapAskflow and anonOpenCodeViewercitation-click hook.Fixes
POST /repo/prepareendpoint that indexes the repo up-front and stream the server event. Should emit a heartbeat every 10 seconds while indexing a repo.Changes
schemasmodule (original Refactor: centralize all pydantic schema models intoschemasmodule #564)RAGmodule. (original refactor RAG, addingragmodule #561)Miscellaneous
nextversion to15.5.22. (fix Security: CVE-2025-66478 (React2Shell) RCE in Dependencies #500)