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: support paths/URLs in any prompt, refactored entrypoint to call a new public API with core logic #37

Merged
merged 4 commits into from
Nov 19, 2023

Conversation

ErikBjare
Copy link
Owner

@ErikBjare ErikBjare commented Nov 13, 2023

WIP #35

The goal is to have:

  • gptme.chat()
    • which can be called with no arguments to start a new conversation
    • return something meaningful
    • be used to run a batch job

also:

@ErikBjare ErikBjare force-pushed the dev/refactor-cli-into-api branch from ec4b4a2 to c663604 Compare November 19, 2023 09:20
@codecov-commenter
Copy link

codecov-commenter commented Nov 19, 2023

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (7160b97) 80.48% compared to head (d16eaa2) 81.20%.
Report is 1 commits behind head on master.

Files Patch % Lines
gptme/cli.py 90.74% 5 Missing ⚠️
gptme/cli_server.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #37      +/-   ##
==========================================
+ Coverage   80.48%   81.20%   +0.71%     
==========================================
  Files          25       25              
  Lines        1696     1729      +33     
==========================================
+ Hits         1365     1404      +39     
+ Misses        331      325       -6     

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

@ErikBjare ErikBjare changed the title feat: refactored CLI into calling a public API surface feat: support paths/URLs in any prompt, refactored entrypoint to split out a public API Nov 19, 2023
@ErikBjare ErikBjare changed the title feat: support paths/URLs in any prompt, refactored entrypoint to split out a public API feat: support paths/URLs in any prompt, refactored entrypoint to call a new public API with core logic Nov 19, 2023
@ErikBjare ErikBjare merged commit aaf60e5 into master Nov 19, 2023
7 checks passed
@ErikBjare ErikBjare deleted the dev/refactor-cli-into-api branch November 19, 2023 10:55
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 file paths in prompts after the first message
2 participants