mirror of
https://github.com/hanzoai/site.git
synced 2026-11-20 21:21:13 +00:00
157 lines
3.6 KiB
JSON
157 lines
3.6 KiB
JSON
[
|
|
[
|
|
{
|
|
"a": "Integrations",
|
|
"href": "/integrations"
|
|
},
|
|
{
|
|
"h1": "Use Hanzo AI with Continue.dev"
|
|
},
|
|
{
|
|
"p": "Configure Continue.dev VS Code / JetBrains extension to use Hanzo AI as your coding assistant. Add Hanzo as a custom OpenAI-compatible provider in your config."
|
|
},
|
|
{
|
|
"p": "Base URL: https://api.hanzo.ai/v1"
|
|
},
|
|
{
|
|
"code": "https://api.hanzo.ai/v1"
|
|
},
|
|
{
|
|
"p": "API Key: Get yours at platform.hanzo.ai/api-keys · Fully OpenAI-compatible · every model on the gateway available"
|
|
},
|
|
{
|
|
"a": "platform.hanzo.ai/api-keys",
|
|
"href": "https://platform.hanzo.ai/api-keys"
|
|
},
|
|
{
|
|
"p": "Created by Continue.dev"
|
|
},
|
|
{
|
|
"a": "Continue.dev",
|
|
"href": "https://continue.dev"
|
|
},
|
|
{
|
|
"p": "License: Apache-2.0 · View source on GitHub →"
|
|
},
|
|
{
|
|
"a": "View source on GitHub →",
|
|
"href": "https://github.com/continuedev/continue"
|
|
},
|
|
{
|
|
"p": "Hanzo AI is OpenAI-compatible, so existing Continue.dev code works with zero refactoring. We deeply appreciate the Continue.dev team for building and maintaining this open-source project."
|
|
},
|
|
{
|
|
"h2": "~/.continue/config.json"
|
|
},
|
|
{
|
|
"code": "{ \" models \" : [ { \" title \" : \" Hanzo zen4-pro \" , \" provider \" : \" openai \" , \" model \" : \" zen4-pro \" , \" apiKey \" : \" your-hanzo-api-key \" , \" apiBase \" : \" https://api.hanzo.ai/v1 \" }, { \" title \" : \" Hanzo zen4-coder \" , \" provider \" : \" openai \" , \" model \" : \" zen4-coder \" , \" apiKey \" : \" your-hanzo-api-key \" , \" apiBase \" : \" https://api.hanzo.ai/v1 \" } ], \" tabAutocompleteModel \" : { \" title \" : \" Hanzo Autocomplete \" , \" provider \" : \" openai \" , \" model \" : \" zen4-coder \" , \" apiKey \" : \" your-hanzo-api-key \" , \" apiBase \" : \" https://api.hanzo.ai/v1 \" } }"
|
|
},
|
|
{
|
|
"h2": "Embeddings config"
|
|
},
|
|
{
|
|
"code": "{ \" embeddingsProvider \" : { \" provider \" : \" openai \" , \" model \" : \" openai/text-embedding-3-large \" , \" apiKey \" : \" your-hanzo-api-key \" , \" apiBase \" : \" https://api.hanzo.ai/v1 \" } }"
|
|
},
|
|
{
|
|
"h2": "Install Continue"
|
|
},
|
|
{
|
|
"code": "# VS Code code --install-extension Continue.continue # JetBrains: install from marketplace # Then edit ~/.continue/config.json"
|
|
},
|
|
{
|
|
"h2": "Test API"
|
|
},
|
|
{
|
|
"code": "curl https://api.hanzo.ai/v1/chat/completions \\ -H \" Authorization: Bearer $ HANZO_API_KEY \" \\ -d ' {\"model\":\"zen4-coder\",\"messages\":[{\"role\":\"user\",\"content\":\"Complete this: def hello():\"}]} '"
|
|
},
|
|
{
|
|
"h2": "Ready to get started?"
|
|
},
|
|
{
|
|
"p": "Create a free account and get your API key. The Free plan includes free model requests and Kai decisions, no card."
|
|
},
|
|
{
|
|
"a": "Get API key — Free",
|
|
"href": "https://platform.hanzo.ai/api-keys"
|
|
},
|
|
{
|
|
"a": "Browse Models",
|
|
"href": "/models"
|
|
},
|
|
{
|
|
"h2": "More integrations"
|
|
},
|
|
{
|
|
"a": "OpenAI Python SDK",
|
|
"href": "/integrations/openai-sdk"
|
|
},
|
|
{
|
|
"a": "Anthropic SDK",
|
|
"href": "/integrations/anthropic-sdk"
|
|
},
|
|
{
|
|
"a": "LangChain",
|
|
"href": "/integrations/langchain"
|
|
},
|
|
{
|
|
"a": "LlamaIndex",
|
|
"href": "/integrations/llamaindex"
|
|
},
|
|
{
|
|
"a": "Vercel AI SDK",
|
|
"href": "/integrations/vercel-ai-sdk"
|
|
},
|
|
{
|
|
"a": "Hugging Face",
|
|
"href": "/integrations/huggingface"
|
|
},
|
|
{
|
|
"a": "AutoGen",
|
|
"href": "/integrations/autogen"
|
|
},
|
|
{
|
|
"a": "CrewAI",
|
|
"href": "/integrations/crewai"
|
|
},
|
|
{
|
|
"a": "DSPy",
|
|
"href": "/integrations/dspy"
|
|
},
|
|
{
|
|
"a": "Haystack",
|
|
"href": "/integrations/haystack"
|
|
},
|
|
{
|
|
"a": "Cursor",
|
|
"href": "/integrations/cursor"
|
|
},
|
|
{
|
|
"a": "GitHub Copilot",
|
|
"href": "/integrations/github-copilot"
|
|
},
|
|
{
|
|
"a": "Docker",
|
|
"href": "/integrations/docker"
|
|
},
|
|
{
|
|
"a": "Kubernetes",
|
|
"href": "/integrations/kubernetes"
|
|
},
|
|
{
|
|
"a": "Python",
|
|
"href": "/integrations/python"
|
|
},
|
|
{
|
|
"a": "TypeScript",
|
|
"href": "/integrations/typescript"
|
|
},
|
|
{
|
|
"a": "Go",
|
|
"href": "/integrations/go"
|
|
},
|
|
{
|
|
"a": "Rust",
|
|
"href": "/integrations/rust"
|
|
}
|
|
]
|
|
] |