Skip to content

Commit b633ac3

Browse files
authored
Merge pull request #5 from togethercomputer/fede/mini-update
mini
2 parents f9f40fc + 8ab79fb commit b633ac3

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ scripts/*
1515
dist/
1616
build/
1717
*.egg-info/
18-
18+
*.cast
19+
*.gif
1920
# Virtual environment
2021
venv/
2122
env/
File renamed without changes.

open_data_scientist/cli.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def get_data_directory(data_dir: Optional[str]) -> Optional[str]:
2929
current_dir = os.getcwd()
3030

3131
console.print("\n[yellow]No data directory specified.[/yellow]")
32-
console.print(f"[blue]Current directory:[/blue] {current_dir}")
32+
console.print(f"[blue]Current directory:[/blue] {Path(current_dir).name}")
3333

3434
# Show files in current directory
3535
files = list(Path(current_dir).iterdir())
@@ -187,7 +187,7 @@ def main():
187187

188188
# Show configuration
189189
# Update args for display
190-
args.data_dir = data_dir or "None (no files will be uploaded)"
190+
args.data_dir = (Path(data_dir).name if data_dir else "None (no files will be uploaded)")
191191
show_configuration(args)
192192

193193
# Ask for confirmation
@@ -198,7 +198,7 @@ def main():
198198
# Welcome message
199199
welcome_text = "🚀 Starting ReAct Data Science Agent"
200200
if data_dir:
201-
welcome_text += f"\n📁 Data from: {data_dir}"
201+
welcome_text += f"\n📁 Data from: {Path(data_dir).name}"
202202
welcome_text += f"\n🧠 Model: {args.model}"
203203
welcome_text += f"\n⚡ Executor: {args.executor.upper()}"
204204

open_data_scientist/utils/strings.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
- Plots and visualizations are automatically displayed to the user
3434
- Build on previous successful steps rather than starting over
3535
- If you don't print outputs, you will not get a result.
36-
- While you can generate plots and images, you cannot see them, you are not a vision model.
36+
- While you can generate plots and images, you cannot see them, you are not a vision model. Don't generate plots and images unless you are asked to.
37+
Do not provide comments on the plots and images you generate, you are not a vision model.
3738
3839
WAIT FOR THE RESULT OF THE ACTION BEFORE PROCEEDING.
3940

0 commit comments

Comments
 (0)