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

Add package mismatches info to system_debug_info #800

Conversation

tegnike
Copy link
Contributor

@tegnike tegnike commented Nov 29, 2023

Describe the changes you have made:

Added package mismatches between poetry and pip to system_debug_info
Here is the result.

>>> from interpreter.core.utils.system_debug_info import system_info
>>> import interpreter
>>> system_info(interpreter)

        Python Version: 3.10.12
        Pip Version: 23.2.1
        Open-interpreter Version: cmd:Interpreter, pkg: 0.1.16
        OS Version and Architecture: macOS-14.1.1-arm64-i386-64bit
        CPU Info: i386
        RAM Info: 16.00 GB, used: 5.02, free: 0.20
        Package Version Mismatches:
        
          python: Not found in pip list
          litellm: Not found in pip list
          openai: Mismatch, pyproject.toml=0.28.0, pip=0.28.1
          rich: Mismatch, pyproject.toml=13.4.2, pip=13.6.0
          pyreadline3: Not found in pip list
          black: Mismatch, pyproject.toml=23.10.1, pip=23.11.0
          pytest: Mismatch, pyproject.toml=7.4.0, pip=7.4.3
        

        Interpreter Info
        Vision: False
        Model: gpt-4
        Function calling: None
        Context window: None
        Max tokens: None

        Auto run: False
        API base: None
        Local: False

        Curl output: Not local
    
    
>>> 

Please check issue #796

Reference any relevant issue (Fixes #796 )

  • I have performed a self-review of my code:

I have tested the code on the following OS:

  • Windows
  • MacOS
  • Linux

AI Language Model (if applicable)

  • GPT4
  • GPT3
  • Llama 7B
  • Llama 13B
  • Llama 34B
  • Huggingface model (Please specify which one)

@Notnaton
Copy link
Collaborator

Great job @tegnike
I will test it on my computer after work

@Notnaton Notnaton self-requested a review December 6, 2023 21:24
@KillianLucas
Copy link
Collaborator

Nice, thank you so much @tegnike. @Notnaton let me know if you still have a chance to test. This looks good to me and I'd love to merge before the next update!

@KillianLucas
Copy link
Collaborator

Going ahead and merging before we push to pip. Great work @tegnike!

@KillianLucas KillianLucas merged commit 2050766 into OpenInterpreter:main Dec 21, 2023
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.

add installed pip package versions to get_system_info
3 participants