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 multi bots and custom url #150

Merged
merged 1 commit into from
Oct 26, 2023
Merged

feat: support multi bots and custom url #150

merged 1 commit into from
Oct 26, 2023

Conversation

sigoden
Copy link
Owner

@sigoden sigoden commented Oct 26, 2023

Config

  - type: openai
    api_key: sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
    organization_id: org-xxxxxxxxxxxxxxxxxxxxxxxx
    proxy: socks5://127.0.0.1:1080
    connect_timeout: 30
  - type: localai
    url:  http://localhost:8080/v1/chat/completions
    models:
      - name: gpt4all-j
        max_tokens: 4096

Closes #116 #127 #129

@sigoden sigoden merged commit 7d8564c into main Oct 26, 2023
3 checks passed
@sigoden sigoden deleted the feat-multi-llm branch October 26, 2023 08:42
rooct pushed a commit to rooct/aichat that referenced this pull request Nov 30, 2023
@CunningMonkey
Copy link

so how to modify the openai base url? your example config seems confusing.

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.

[Feature request] Replace OpenAI API Endpoint with Custom Endpoint
2 participants