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

[Ellipsis] feat: add system information prompts and minor text adjustments #229

Closed
wants to merge 7 commits into from

Conversation

ellipsis-dev[bot]
Copy link
Contributor

@ellipsis-dev ellipsis-dev bot commented Oct 26, 2024

This change addresses review comments left by @brayo-pip on PR #171: feat: add platform info to the system prompt

⚠️ We couldn't build/test your project to verify our changes. Add a Dockerfile to significantly improve code quality.

Summary:

Add system information prompts in prompts.py and make minor text adjustments.

Key points:

  • Behavior:
    • Add prompt_systeminfo() in prompts.py to generate system information prompts for Linux, Windows, and macOS.
    • Integrate prompt_systeminfo() into prompt_full() in prompts.py.
  • Text Changes:
    • Minor text adjustment in prompt_gptme() in prompts.py (removed comma).
    • Remove unnecessary line in tools/shell.py related to macOS platform check.

You can configure Ellipsis to address comments with a direct commit or a side PR, see docs.


Something look wrong? If this Pull Request doesn't address the comments left on the above pull request, create a new PR review with more details. For more information, check the documentation.

Generated with ❤️ by ellipsis.dev


Important

Add system information prompts in prompts.py and make minor text adjustments in prompt and shell files.

  • Behavior:
    • Add prompt_systeminfo() in prompts.py to generate system information prompts for Linux, Windows, and macOS.
    • Integrate prompt_systeminfo() into prompt_full() in prompts.py.
  • Text Changes:
    • Minor text adjustment in prompt_gptme() in prompts.py (removed comma).
    • Remove unnecessary line in tools/shell.py related to macOS platform check.

This description was created by Ellipsis for 56bd22f. It will automatically update as commits are pushed.

@ellipsis-dev ellipsis-dev bot requested a review from 0xbrayo October 26, 2024 14:14
@codecov-commenter
Copy link

codecov-commenter commented Oct 26, 2024

❌ 9 Tests Failed:

Tests completed Failed Passed Skipped
47 9 38 0
View the top 3 failed tests by shortest run time
 tests.test_browser
Stack Traces | 0s run time
No failure message available
 tests.test_eval
Stack Traces | 0s run time
No failure message available
 tests.test_readline
Stack Traces | 0s run time
No failure message available

To view individual test run time comparison to the main branch, go to the Test Analytics Dashboard

@0xbrayo
Copy link
Collaborator

0xbrayo commented Oct 26, 2024

@ellipsis-bot move the regex compilation out of the function to the global scope

Copy link
Contributor Author

ellipsis-dev bot commented Oct 26, 2024

Could you specify which regex compilation you're referring to? This will help ensure the correct change is made.

@0xbrayo
Copy link
Collaborator

0xbrayo commented Oct 26, 2024

The regex compilation in the last commit you made @ellipsis-dev

@0xbrayo
Copy link
Collaborator

0xbrayo commented Oct 26, 2024

@ellipsis-dev review

Copy link
Contributor Author

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

❌ Changes requested. Reviewed everything up to 56bd22f in 17 seconds

More details
  • Looked at 84 lines of code in 2 files
  • Skipped 0 files when reviewing.
  • Skipped posting 0 drafted comments based on config settings.

Workflow ID: wflow_0IQpac7hjYacpGia


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

gptme/prompts.py Outdated Show resolved Hide resolved
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
@0xbrayo 0xbrayo closed this Oct 29, 2024
@0xbrayo
Copy link
Collaborator

0xbrayo commented Oct 29, 2024

Merged already

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