Skip to content

Added fixes and improvements for multiple components #51

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

taddeusb90
Copy link

@taddeusb90 taddeusb90 commented Jan 15, 2025

  • Added .gitignore entries for data/ projects/ provided new lines to ignore additional directories and scripts.

  • Removed timeouts from execute_code(...) calls in ai_lab_repo.py removing timeout=60 and timeout=120 so that the code no longer forcibly terminates after a short period.

  • Updated logging to show if self.verbose before printing certain debug statements** in literature_review**:

  • New try-except block for FULL_TEXT retrieval in literature_review** if an arxiv.Client().results(...) call fails, an [ERROR] Could not retrieve paper message is included instead of throwing an unhandled exception.

  • Introduced a new --file-path argument if the user’s research topic string includes {FILE}, the content of the file at --file-path is read and substituted in the prompt. This avoids shell “argument list too long” issues.

  • Changed default model from "gpt-4" to "o1-mini" and raised the default max_context_tokens to 128000 for expanded context capacity.

  • Added a new subprocess-based code execution method using psutil to distinguish busy vs. idle states. Now, if the code is continuously active (CPU usage above a small threshold), it can run longer, but will be terminated early if idle for too long or if it exceeds a hard overall runtime.

@taddeusb90 taddeusb90 marked this pull request as ready for review January 16, 2025 11:20
@taddeusb90 taddeusb90 changed the title WIP: fixes Added fixes and improvements for multiple components Jan 16, 2025
@taddeusb90 taddeusb90 changed the title Added fixes and improvements for multiple components WIP: Added fixes and improvements for multiple components Jan 16, 2025
@taddeusb90 taddeusb90 changed the title WIP: Added fixes and improvements for multiple components WIP: Added fixes and improvements for multiple components [DON'T MERGE YET] Jan 16, 2025
@taddeusb90 taddeusb90 changed the title WIP: Added fixes and improvements for multiple components [DON'T MERGE YET] Added fixes and improvements for multiple components Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants