devchat-ai / devchat

Automate your dev tasks with AI-powered scripts, from your IDE's chat panel.
https://www.devchat.ai
Apache License 2.0
342 stars 39 forks source link

Dependency conflict with tiktoken version when installing devchat alongside other AI libraries #300

Closed yangbobo2021 closed 5 months ago

yangbobo2021 commented 5 months ago

While attempting to install devchat in an environment that also includes other AI libraries, a dependency conflict arises due to devchat requiring tiktoken version less than 0.5.0 (tiktoken<0.5.0), whereas other projects have moved on to depend on tiktoken versions 0.5.0 and above. This discrepancy prevents the successful installation of the needed packages due to the conflicting version requirements.

Steps to reproduce:

  1. Create a new virtual environment.
  2. Try installing devchat alongside another AI library that requires tiktoken version >= 0.5.0.

Expected behavior: Both devchat and the other AI libraries install successfully without version conflicts.

Actual behavior: The installation fails due to a version conflict with tiktoken, making it impossible to satisfy the dependency requirements of both devchat and the other AI libraries.

Possible solution: Update the tiktoken version requirement in devchat to allow for versions >= 0.5.0, if it does not break compatibility. Alternatively, a more flexible version dependency could be considered to accommodate both sets of libraries.

yangbobo2021 commented 5 months ago

Similar Issues


  1. Add context size field to v1/models API (score=-0.00)

  2. Support for poe.com (quora's chatbot service) api (score=-0.00)

  3. Support for Embeddings Interface to Align with OpenAI API Specifications (score=-0.00)

  4. Handling Spaces in Keys to Prevent Misleading APIConnectionError (score=-0.00)

  5. Handle Leading or Trailing Spaces in KEY to Prevent Misleading Connection Errors (score=-0.00)

  6. Handling Keys with Spaces Triggers Misleading Connection Error (score=-0.00)

  7. Integrate Monkey Infinity LLMs into devchat-api (score=-0.00)

  8. Chat command causes output disruption when sent multiple times to devchat (score=-0.00)