Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
820 changes: 687 additions & 133 deletions backend/app.py

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config.template.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#name = "AI Scientist"

# LLM Model
model = "gpt-4o"
model = "gpt-5-mini"

# Temperature for controlling randomness in responses
temperature = 0.75
Expand Down
1 change: 0 additions & 1 deletion examples/code.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import os
from typing import Any, Dict

import _bootstrap
from tiny_scientist.budget_checker import BudgetChecker

# Import the Coder class - assuming it's in a module called "coder"
Expand Down
1 change: 0 additions & 1 deletion examples/demo.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import json
import os

import _bootstrap
from tiny_scientist import TinyScientist

scientist = TinyScientist(
Expand Down
5 changes: 2 additions & 3 deletions examples/draw.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import json
import os

import _bootstrap
from tiny_scientist.tool_impls import DrawerTool


Expand All @@ -25,8 +24,8 @@ def parse_args() -> argparse.Namespace:
parser.add_argument(
"--model",
type=str,
default="claude-3-5-sonnet-20241022",
help="LLM model to use (default: claude-3-5-sonnet-20241022)",
default="gpt-5-mini",
help="LLM model to use (default: gpt-5-mini)",
)
parser.add_argument(
"--output",
Expand Down
1 change: 0 additions & 1 deletion examples/hf_auto_eval.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import argparse

import _bootstrap
from tiny_scientist import TinyScientist


Expand Down
5 changes: 2 additions & 3 deletions examples/latex_compile.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import _bootstrap
from tiny_scientist.utils.llm import create_client
from tiny_scientist.utils.output_formatter import ACLOutputFormatter
from tiny_scientist.utils.water_marker import WaterMarker

client = create_client(model="gpt-4o")
formatter = ACLOutputFormatter(model="gpt-4o", client=client)
client = create_client(model="gpt-5-mini")
formatter = ACLOutputFormatter(model="gpt-5-mini", client=client)
watermarker = WaterMarker()
formatter._compile_latex(
cwd="../latex", output_pdf_path="../latex/output.pdf", timeout=1000
Expand Down
1 change: 0 additions & 1 deletion examples/review.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import os.path as osp
from typing import Any, List

import _bootstrap
from tiny_scientist.reviewer import Reviewer
from tiny_scientist.utils.llm import AVAILABLE_LLMS

Expand Down
1 change: 0 additions & 1 deletion examples/think.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import os
from typing import Any, Dict, cast

import _bootstrap
from tiny_scientist.thinker import Thinker
from tiny_scientist.utils.input_formatter import InputFormatter
from tiny_scientist.utils.llm import AVAILABLE_LLMS
Expand Down
1 change: 0 additions & 1 deletion examples/write.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import json
import os

import _bootstrap
from tiny_scientist.writer import Writer


Expand Down
Loading
Loading