Skip to content

Installation ​

Installieren Sie die Droid-CLI:

bash
curl -fsSL https://app.factory.ai/cli | sh

Hinweis

Droid erfordert ein größeres Kontextfenster. Es wird empfohlen, ein Kontextfenster von mindestens 64k Token zu verwenden. Weitere Informationen finden Sie unter Kontextlänge.

Verwendung mit Ollama ​

Schnelle Einrichtung ​

bash
ollama launch droid

Zur Konfiguration ohne Start:

shell
ollama launch droid --config

Manuelle Einrichtung ​

Fügen Sie einen lokalen Konfigurationsblock zu ~/.factory/config.json hinzu:

json
{
  "custom_models": [
    {
      "model_display_name": "qwen3-coder [Ollama]",
      "model": "qwen3-coder",
      "base_url": "http://localhost:11434/v1/",
      "api_key": "not-needed",
      "provider": "generic-chat-completion-api",
      "max_tokens": 32000
    }
  ]
}

Cloud-Modelle ​

qwen3-coder:480b-cloud ist das empfohlene Modell für die Verwendung mit Droid.

Fügen Sie den Cloud-Konfigurationsblock zu ~/.factory/config.json hinzu:

json
{
  "custom_models": [
    {
      "model_display_name": "qwen3-coder [Ollama Cloud]",
      "model": "qwen3-coder:480b-cloud",
      "base_url": "http://localhost:11434/v1/",
      "api_key": "not-needed",
      "provider": "generic-chat-completion-api",
      "max_tokens": 128000
    }
  ]
}

Verbindung mit ollama.com ​

  1. Erstellen Sie einen API-Schlüssel auf ollama.com und exportieren Sie ihn als OLLAMA_API_KEY.

  2. Fügen Sie den Cloud-Konfigurationsblock zu ~/.factory/config.json hinzu:

    json
    {
      "custom_models": [
        {
          "model_display_name": "qwen3-coder [Ollama Cloud]",
          "model": "qwen3-coder:480b",
          "base_url": "https://ollama.com/v1/",
          "api_key": "OLLAMA_API_KEY",
          "provider": "generic-chat-completion-api",
          "max_tokens": 128000
        }
      ]
    }

Führen Sie droid in einem neuen Terminal aus, um die neuen Einstellungen zu laden.