You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+30-2Lines changed: 30 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,10 +5,34 @@ All notable changes to this project will be documented in this file.
5
5
## [Unreleased]
6
6
7
7
### Added
8
-
-**DeepWiki MCP integration**: Repository info tool now uses DeepWiki MCP server (https://mcp.deepwiki.com/sse) as primary source for GitHub repository documentation. DeepWiki provides fast, pre-indexed documentation access without API rate limits.
9
-
- Automatic fallback to `repocards` library (replacing previous direct GitHub API implementation) when DeepWiki is unavailable or times out, ensuring robust repository information retrieval for both indexed and newly-created repositories.
8
+
-**New chat-based interface** (`ai_agent chat`) with conversational AI assistant
9
+
- Chatbot component with rich media rendering (images, files, JSON, code blocks)
10
+
- Inline file upload support for PNG, JPG, WEBP, TIFF, DICOM, NIfTI, CSV, JSON, XML, MP3, MP4
11
+
- File previews with format-specific icons rendered in chat messages
-`respond(message, files, state) -> (reply, media, state)` core interface function
19
+
- Encapsulates all agent logic in testable, UI-independent function
20
+
- State management via `ChatState` dataclass with serialization
21
+
-`ChatMessage` dataclass for rich reply composition with markdown, images, files, traces
22
+
-`handlers.py` module with agent response logic
23
+
-`components.py` module for reusable chat UI components
24
+
-`formatters.py` helpers for rich message and media formatting
25
+
-`state.py` chat state models and serialization utilities
26
+
-`visualizations.py` helpers for rendering previews, traces, and visual state
27
+
-`app.py` Gradio app implementing the chat UI
28
+
-**Imaging Plaza branding**: Custom CSS theme with Plaza green colors (#00A991)
29
+
-**Logo integration**: Official Imaging Plaza white logo displayed in header
30
+
-**Redesigned layout**: Reorganized UI with header banner, left chat panel, and right sidebar for files and state
10
31
11
32
### Changed
33
+
- CLI now supports `ai_agent chat`
34
+
-**DeepWiki MCP integration**: Repository info tool now uses DeepWiki MCP server (https://mcp.deepwiki.com/sse) as primary source for GitHub repository documentation. DeepWiki provides fast, pre-indexed documentation access without API rate limits.
35
+
- Automatic fallback to `repocards` library (replacing previous direct GitHub API implementation) when DeepWiki is unavailable or times out, ensuring robust repository information retrieval for both indexed and newly-created repositories.
12
36
- Updated `pydantic-ai` dependency to include MCP support via `pydantic-ai[mcp]` extra.
13
37
- Enhanced `RepoSummaryOutput` schema to include `source` field indicating whether data came from "deepwiki" or "repocards".
14
38
- Repository info tool logs now track data source (DeepWiki vs repocards) for observability.
@@ -23,6 +47,9 @@ All notable changes to this project will be documented in this file.
23
47
-**UI State Management Simplified**: Removed complex refine intent detection system. Agent now naturally handles requests for alternatives via conversation history without hard-coded heuristics.
24
48
-**UI Handler Simplified**: Reduced `handle_message()` parameters from 8 to 6, removing `last_task_state`, `last_suggestions_state`, and `excluded_names` state tracking.
25
49
-**Agent-Only Path**: Removed `USE_AGENT` conditional (always uses Pydantic AI agent). Deleted dead code path for non-agent pipeline invocation.
50
+
-**UI redesign**: File upload moved to dedicated right panel for cleaner workflow
51
+
-**Visual hierarchy**: Header with gradient green banner and logo
52
+
-**Button styling**: Primary actions use Imaging Plaza green theme colors
26
53
27
54
### Removed
28
55
-**VLMToolSelector**: Deleted unused `generator/generator.py` containing VLMToolSelector class. The pydantic-ai agent handles all tool selection directly.
@@ -32,6 +59,7 @@ All notable changes to this project will be documented in this file.
32
59
-**Legacy Method**: Removed `recommend_and_link()` method from `api/pipeline.py` (~180 lines) - only used by outdated tests, replaced by agent-based approach.
33
60
-**State Variables**: Removed 3 Gradio State objects: `last_task_state`, `last_suggestions_state`, `excluded_names`.
34
61
-**Outdated Tests**: Removed `tests/full_test.py` which only tested the removed `recommend_and_link()` method.
62
+
- CLI no more supports `ai_agent ui` command
35
63
36
64
### Fixed
37
65
-**Conversation Context**: Agent now properly maintains conversation history, enabling natural understanding of follow-up requests like "show me alternatives".
# Intercept tool usage by patching agent? Simpler: rely on return types (pydantic-ai tracks internally, we record manually not available yet) -> for Phase 1 we skip deep logging.
166
-
167
-
deps=AgentState(excluded_tools=excludedor [])
178
+
# Create AgentState with runtime overrides
179
+
deps=AgentState(
180
+
excluded_tools=excludedor [],
181
+
override_model=model,
182
+
override_base_url=base_url,
183
+
override_top_k=top_k,
184
+
override_num_choices=num_choices,
185
+
)
186
+
168
187
# Provide hidden metadata context lines (non-user-visible) below a delimiter
0 commit comments