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: implement gptme-util CLI for utilities #261

Merged
merged 13 commits into from
Nov 17, 2024
Merged

Commits on Nov 17, 2024

  1. feat(gptme-util): implement tools subcommands

    - Added tools list and info commands
    - Added language tag support
    - Reused existing code from commands.py
    - Added initial tests for utility CLI
    - Moved util.py to util/__init__.py for better organization
    ErikBjare committed Nov 17, 2024
    Configuration menu
    Copy the full SHA
    3a2573d View commit details
    Browse the repository at this point in the history
  2. fix(gptme-util): improve error handling and tests

    - Added empty list handling in chats_list
    - Added model validation in tokens_count
    - Added comprehensive test cases
    - Skip context test until module is available
    ErikBjare committed Nov 17, 2024
    Configuration menu
    Copy the full SHA
    2af94f8 View commit details
    Browse the repository at this point in the history
  3. refactor: remove duplicate ModelDictMeta definition

    - Import _ModelDictMeta from models.py instead of duplicating definition
    - Fixes code duplication identified by pylint
    ErikBjare committed Nov 17, 2024
    Configuration menu
    Copy the full SHA
    d73de53 View commit details
    Browse the repository at this point in the history
  4. wip

    ErikBjare committed Nov 17, 2024
    Configuration menu
    Copy the full SHA
    cd8ef84 View commit details
    Browse the repository at this point in the history
  5. fix: fixed recursive import

    ErikBjare committed Nov 17, 2024
    Configuration menu
    Copy the full SHA
    6cca401 View commit details
    Browse the repository at this point in the history
  6. docs: fixed docs

    ErikBjare committed Nov 17, 2024
    Configuration menu
    Copy the full SHA
    ede4361 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d92f291 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    20878dc View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    66ea9f8 View commit details
    Browse the repository at this point in the history
  10. Apply suggestions from code review

    Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
    ErikBjare and ellipsis-dev[bot] authored Nov 17, 2024
    Configuration menu
    Copy the full SHA
    c8e328d View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    d060108 View commit details
    Browse the repository at this point in the history
  12. fix: more refactor, support summarizing conversations with `gptme-uti…

    …l chats list --summarize`
    ErikBjare committed Nov 17, 2024
    Configuration menu
    Copy the full SHA
    1aa576a View commit details
    Browse the repository at this point in the history
  13. test: fixed tests

    ErikBjare committed Nov 17, 2024
    Configuration menu
    Copy the full SHA
    7edb198 View commit details
    Browse the repository at this point in the history