Skip to content
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

adjust logging system #51

Merged
merged 17 commits into from
Jul 16, 2024
Merged

adjust logging system #51

merged 17 commits into from
Jul 16, 2024

Conversation

XianBW
Copy link
Collaborator

@XianBW XianBW commented Jul 8, 2024

adjust gpt response stream,

save a trace for each run


📚 Documentation preview 📚: https://RDAgent--51.org.readthedocs.build/en/51/

@@ -43,27 +183,9 @@ def render(self, text: str, color: str = "", style: str = "") -> str:
colors = self.get_all_colors()
# Perhaps color and font should be distinguished here.
if color and color in colors:
# Changes to accommodate ruff checks.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are these removed now?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They are redundant, these comments are generated by ruff auto-fix, just for revert changes.

rdagent/log/__init__.py Show resolved Hide resolved
rdagent/core/utils.py Outdated Show resolved Hide resolved
@you-n-g you-n-g merged commit 3e4e54a into main Jul 16, 2024
@you-n-g you-n-g deleted the logging branch July 16, 2024 12:36
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