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

feat: added --workspace option, added project-level gptme.toml config #100

Merged
merged 2 commits into from
Aug 26, 2024

Conversation

ErikBjare
Copy link
Owner

Closes #96
Closes #99

… file support (incl files to include in context by default)
Copy link
Contributor

ellipsis-dev bot commented Aug 26, 2024

Your free trial has expired. To keep using Ellipsis, sign up at https://app.ellipsis.dev for $20/seat/month or reach us at [email protected]

@ErikBjare ErikBjare changed the title feat: added --workspace option, added project-level gptme.toml config file support (incl files to include in context by default) feat: added --workspace option, added project-level gptme.toml config file support Aug 26, 2024
@ErikBjare ErikBjare mentioned this pull request Aug 26, 2024
@ErikBjare ErikBjare changed the title feat: added --workspace option, added project-level gptme.toml config file support feat: added --workspace option, added project-level gptme.toml config Aug 26, 2024
@codecov-commenter
Copy link

codecov-commenter commented Aug 26, 2024

Codecov Report

Attention: Patch coverage is 45.45455% with 42 lines in your changes missing coverage. Please review.

Project coverage is 83.22%. Comparing base (0b438e1) to head (9d35f68).
Report is 4 commits behind head on master.

✅ All tests successful. No failed tests found.

Files Patch % Lines
gptme/eval/main.py 31.81% 15 Missing ⚠️
gptme/config.py 52.17% 11 Missing ⚠️
gptme/eval/agents.py 27.27% 8 Missing ⚠️
gptme/cli.py 58.82% 7 Missing ⚠️
gptme/eval/filestore.py 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #100      +/-   ##
==========================================
- Coverage   84.31%   83.22%   -1.10%     
==========================================
  Files          42       42              
  Lines        2684     2748      +64     
==========================================
+ Hits         2263     2287      +24     
- Misses        421      461      +40     
Flag Coverage Δ
anthropic 82.02% <45.45%> (-1.07%) ⬇️
openai 81.40% <45.45%> (-0.90%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

# check if workspace already exists
workspace_prompt = get_workspace_prompt(str(workspace_path))
if workspace_prompt:
log.append(Message("system", workspace_prompt))
Copy link
Owner Author

Choose a reason for hiding this comment

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

Suggested change
log.append(Message("system", workspace_prompt))
log.append(Message("system", workspace_prompt, hidden=True))

@ErikBjare ErikBjare merged commit 9b9d942 into master Aug 26, 2024
6 checks passed
@ErikBjare ErikBjare deleted the dev/workspace-and-project-config branch August 26, 2024 19:51
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.

Support project-specific config files for context Add --workspace feature
2 participants