Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
378230f
Add chatlas and anthropic libs rm optional depends
rich-iannone Aug 10, 2025
742c802
Add LLM Transformation tool
rich-iannone Aug 10, 2025
df7f726
Add scrollable conversation and history views
rich-iannone Aug 10, 2025
30e357b
Show Recent messages and Full History
rich-iannone Aug 10, 2025
db227ad
Show full chat history in main chat area
rich-iannone Aug 10, 2025
77ab2e1
Make ToolsPanel sections stretch to fill vertical space
rich-iannone Aug 10, 2025
d7b92fd
Rework chat history and code approval UI
rich-iannone Aug 10, 2025
ab80e84
Improve chat input UX in LLM transform panel
rich-iannone Aug 10, 2025
4febbae
Rename LLM Transform to Sweet AI Assistant in UI
rich-iannone Aug 10, 2025
5285fee
Rework code approval UI for LLM responses
rich-iannone Aug 10, 2025
66f54f3
Maintain consistent chat history size in ToolsPanel
rich-iannone Aug 10, 2025
ef08647
Remove conversation history file saving logic
rich-iannone Aug 10, 2025
782ca21
Remove unused _show_full_history() method
rich-iannone Aug 10, 2025
8552972
Modify sizing of the chat history text area
rich-iannone Aug 10, 2025
e3a28cd
Clear pending code and hide approval UI on reset
rich-iannone Aug 10, 2025
96edf4b
Enhance LLM data context with JSON data summary
rich-iannone Aug 10, 2025
62cc917
Improve chat history sizing and convo response handling
rich-iannone Aug 10, 2025
e472bde
Refine ToolsPanel RadioSet styling and code formatting
rich-iannone Aug 10, 2025
ddf6a66
Increase min version req of Polars library
rich-iannone Aug 10, 2025
cff8069
Enhance system prompt with full Polars API reference
rich-iannone Aug 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,16 @@ classifiers = [
]
dependencies = [
"textual>=0.41.0",
"polars>=0.20.0",
"polars>=1.32.0",
"duckdb>=0.9.0",
"rich>=13.0.0",
"click>=8.0.0",
"tree-sitter-python>=0.23.6",
"chatlas>=0.9.2",
"anthropic>=0.62.0",
]
requires-python = ">=3.10"

[project.optional-dependencies]
excel = ["polars[xlsx]>=0.20.0"]
parquet = ["pyarrow>=10.0.0"]

[dependency-groups]
dev = [
"pytest>=7.0.0",
Expand Down
33 changes: 33 additions & 0 deletions sweet/ui/sweet.tcss
Original file line number Diff line number Diff line change
Expand Up @@ -660,3 +660,36 @@ Button#column-type-btn, Button#polars-exec-btn {
.hidden {
display: none;
}

/* ==============================================
TOOLS PANEL - HISTORY CONTAINERS
============================================== */
/* Make chat history containers have consistent fixed height */
ToolsPanel #chat-history-scroll {
height: 16;
min-height: 16;
max-height: 16;
}

ToolsPanel #llm-response-scroll {
height: auto;
min-height: 10;
max-height: 1fr;
}

/* When approval UI is active, limit history container height to make room for buttons */
ToolsPanel #chat-history-scroll.compact {
height: 16;
min-height: 8;
max-height: 16;
}

/* Ensure the Sweet AI Assistant section stretches vertically */
ToolsPanel #llm-transform-content {
height: 1fr;
}

/* Make sure the panel sections can grow */
ToolsPanel .panel-section {
height: 1fr;
}
Loading
Loading