{% extends "base.html" %} {% block title %}Tool Setup - Janus{% endblock %} {% block tools_active %}bg-gray-700 text-white{% endblock %} {% block content %}
Connect your tools to Janus. All requests go through the same OpenAI-compatible endpoint.
Set the environment variable and run:
export ANTHROPIC_BASE_URL={{ base_url }}
{% if require_key %}
export ANTHROPIC_API_KEY=sk-janus-xxxx
{% endif %}
Point OpenAI base URL at Janus:
export OPENAI_BASE_URL={{ base_url }}
{% if require_key %}
export OPENAI_API_KEY=sk-janus-xxxx
{% endif %}
In Cline settings, set API Provider to "OpenAI Compatible":
Base URL: {{ base_url }}
{% if require_key %}
API Key: sk-janus-xxxx
{% endif %}
Standard OpenAI-compatible API:
curl {{ base_url }}/chat/completions \
-H "Authorization: Bearer {% if require_key %}sk-janus-xxxx{% else %}none{% endif %}" \
-H "Content-Type: application/json" \
-d '{"model": "openai/gpt-4o", "messages": [...]}'