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

[BUG] - Kaiban Proxy Compatibility issues with Windows environments due to invalid directory names #169

Open
dannleft opened this issue Dec 5, 2024 · 0 comments

Comments

@dannleft
Copy link
Collaborator

dannleft commented Dec 5, 2024

Describe the Bug

KaibanJS Proxy -> https://github.com/kaiban-ai/kaiban-llm-proxy

Encounters compatibility issues on Windows environments when handling directory or file names that include invalid characters, such as colons (:). This prevents the creation of necessary directories and disrupts workflows when trying to integrate external models or APIs.

KaibanJS Team Config

This issue can occur in any setup where directory paths include characters not allowed in Windows file systems. Example configuration:

  • apiBaseUrl: Custom endpoint with a model hosted in a directory containing invalid characters.

Steps to Reproduce

  1. Set up a KaibanJS configuration file with a custom apiBaseUrl that points to a directory including invalid characters (e.g., app/llm/google/v1beta/models/model-name).
  2. Run the project in a Windows environment.
  3. Observe the error when the system attempts to create or reference the directory.

Current vs. Expected Behavior

Current behavior: The system fails to create directories and throws errors due to the presence of invalid characters in file paths.

Expected behavior: KaibanJS should sanitize directory and file paths to ensure compatibility with Windows, avoiding the use of invalid characters.

Environment

  • Framework/Library: NodeJS
  • KaibanJS Version: [e.g., 0.1.0]
  • JavaScript Runtime: NodeJS
  • OS: Windows 10/11
@dannleft dannleft added bug Something isn't working windows feedback discord labels Dec 5, 2024
@darielnoel darielnoel changed the title [BUG] - Compatibility issues with Windows environments due to invalid directory names [BUG] - Kaiban Proxy Compatibility issues with Windows environments due to invalid directory names Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants