Refactor code structure for improved readability and maintainability

This commit is contained in:
X-iZhang
2026-02-22 17:24:45 +00:00
parent c57e6132a5
commit f3cf1dc896
10 changed files with 37 additions and 42 deletions

Before

Width:  |  Height:  |  Size: 849 KiB

After

Width:  |  Height:  |  Size: 849 KiB

Before

Width:  |  Height:  |  Size: 95 KiB

After

Width:  |  Height:  |  Size: 95 KiB

Before

Width:  |  Height:  |  Size: 280 KiB

After

Width:  |  Height:  |  Size: 280 KiB

Before

Width:  |  Height:  |  Size: 284 KiB

After

Width:  |  Height:  |  Size: 284 KiB

Before

Width:  |  Height:  |  Size: 582 KiB

After

Width:  |  Height:  |  Size: 582 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 94 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 94 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 100 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 100 KiB

+5 -6
View File
@@ -1,11 +1,10 @@
<!-- Add logo here -->
<div align="center">
<picture>
<source media="(prefers-color-scheme: light)" srcset=".github/images/logo-dark.svg">
<source media="(prefers-color-scheme: dark)" srcset=".github/images/logo-light.svg">
<img alt="EvoScientist Logo" src=".github/images/logo-dark.svg" width="80%">
<source media="(prefers-color-scheme: light)" srcset=".github/assets/logo-dark.svg">
<source media="(prefers-color-scheme: dark)" srcset=".github/assets/logo-light.svg">
<img alt="EvoScientist Logo" src=".github/assets/logo-dark.svg" width="80%">
</picture>
</a>
</div>
<div align="center">
@@ -159,7 +158,7 @@ TAVILY_API_KEY=your_tavily_api_key_here
### CLI Inference
You can perform inference directly from the command line using our CLI tool:
![demo](./assets/EvoScientist_cli.png)
![demo](.github/assets/EvoScientist_cli.png)
```Shell
python -m EvoScientist
@@ -185,7 +184,7 @@ EvoSci # or EvoScientist
> In `--ui textual` mode, the built-in TUI commands are:
> `/help`, `/current`, `/new`, `/clear`, `/threads`, `/resume <id>`, `/delete <id>`, `/exit`.
![demo](./assets/EvoScientist_cli_help.png)
![demo](.github/assets/EvoScientist_cli_help.png)
**Configuration commands:**