in .env file I added 1 line
my librechat.yaml.
endpoints:
custom:
# Together AI API
- name: "TogetherAI" # Unique name for the endpoint
# For `apiKey` and `baseURL`, you can use environment variables that you define.
# recommended environment variables:
apiKey: "${TOGETHER_AI_KEY}"
baseURL: "https://api.together.xyz"
# Models configuration
models:
# List of default models to use. At least one value is required.
default: ["mistralai/Mistral-7B-Instruct-v0.2"]
# Fetch option: Set to true to fetch models from API.
fetch: true # Defaults to false.
# Title Model: Specify the model to use for titles.
titleModel: "mistralai/Mistral-7B-Instruct-v0.2" # Defaults to "gpt-3.5-turbo" if omitted.
# Summarize setting: Set to true to enable summarization.
summarize: false
# Summary Model: Specify the model to use if summarization is enabled.
summaryModel: "mistralai/Mistral-7B-Instruct-v0.2" # Defaults to "gpt-3.5-turbo" if omitted.
# Force Prompt setting: If true, sends a `prompt` parameter instead of `messages`.
forcePrompt: false
# The label displayed for the AI model in messages.
modelDisplayLabel: "TogetherAI"
my docker-compose.override.yml
# # USE LIBRECHAT CONFIG FILE
api:
volumes:
- ./librechat.yaml:/app/librechat.yaml```
then `docker compose up -d`
it runs 1 warning/error
`! api The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested`
but the web starts fine, I entered the together ai key.
then entered message and send.
I've tried to change baseUrl to `https://api.together.xyz/v1` too but also same error
Does Together AI is not supported yet? If so sorry I thought as long its OpenAI API compatible it should work