Add complete homelab documentation and configurations
Documentation: - OpenCode + LiteLLM integration guide - LiteLLM complete setup with 16 models - Gitea centralized configuration guide - Testing procedures and verification - API keys setup instructions Configurations: - OpenCode config pointing to LiteLLM - Updated LiteLLM config with all models - Nextcloud docker-compose template Scripts: - Gitea setup automation - OpenCode testing script Infrastructure: - Gitea: 192.168.88.200:3000 - LiteLLM: 192.168.88.27:4000 - Nextcloud: 192.168.88.62
This commit is contained in:
@@ -0,0 +1,141 @@
|
||||
model_list:
|
||||
# =====================================================================
|
||||
# OpenAI - 5 Models (Latest)
|
||||
# =====================================================================
|
||||
- model_name: gpt-4o
|
||||
litellm_params:
|
||||
model: openai/gpt-4o
|
||||
api_key: sk-test-placeholder-openai
|
||||
timeout: 600
|
||||
max_retries: 2
|
||||
|
||||
- model_name: gpt-4o-mini
|
||||
litellm_params:
|
||||
model: openai/gpt-4o-mini
|
||||
api_key: sk-test-placeholder-openai
|
||||
timeout: 600
|
||||
max_retries: 2
|
||||
|
||||
- model_name: gpt-4-turbo
|
||||
litellm_params:
|
||||
model: openai/gpt-4-turbo
|
||||
api_key: sk-test-placeholder-openai
|
||||
timeout: 600
|
||||
max_retries: 2
|
||||
|
||||
- model_name: gpt-4
|
||||
litellm_params:
|
||||
model: openai/gpt-4
|
||||
api_key: sk-test-placeholder-openai
|
||||
timeout: 600
|
||||
max_retries: 2
|
||||
|
||||
- model_name: gpt-3.5-turbo
|
||||
litellm_params:
|
||||
model: openai/gpt-3.5-turbo
|
||||
api_key: sk-test-placeholder-openai
|
||||
timeout: 600
|
||||
max_retries: 2
|
||||
|
||||
# =====================================================================
|
||||
# Anthropic Claude - 6 Models (Latest)
|
||||
# =====================================================================
|
||||
- model_name: claude-3.5-sonnet
|
||||
litellm_params:
|
||||
model: claude/claude-3-5-sonnet-20241022
|
||||
api_key: sk-ant-test-placeholder-claude
|
||||
timeout: 600
|
||||
max_retries: 2
|
||||
|
||||
- model_name: claude-opus-4
|
||||
litellm_params:
|
||||
model: claude/claude-opus-4-1-20250805
|
||||
api_key: sk-ant-test-placeholder-claude
|
||||
timeout: 600
|
||||
max_retries: 2
|
||||
|
||||
- model_name: claude-3-opus
|
||||
litellm_params:
|
||||
model: claude/claude-3-opus-20240229
|
||||
api_key: sk-ant-test-placeholder-claude
|
||||
timeout: 600
|
||||
max_retries: 2
|
||||
|
||||
- model_name: claude-3-sonnet
|
||||
litellm_params:
|
||||
model: claude/claude-3-sonnet-20240229
|
||||
api_key: sk-ant-test-placeholder-claude
|
||||
timeout: 600
|
||||
max_retries: 2
|
||||
|
||||
- model_name: claude-3-haiku
|
||||
litellm_params:
|
||||
model: claude/claude-3-haiku-20240307
|
||||
api_key: sk-ant-test-placeholder-claude
|
||||
timeout: 600
|
||||
max_retries: 2
|
||||
|
||||
- model_name: claude-2.1
|
||||
litellm_params:
|
||||
model: claude/claude-2-1
|
||||
api_key: sk-ant-test-placeholder-claude
|
||||
timeout: 600
|
||||
max_retries: 2
|
||||
|
||||
# =====================================================================
|
||||
# Google Gemini - 5 Models (Latest)
|
||||
# =====================================================================
|
||||
- model_name: gemini-2.0-flash
|
||||
litellm_params:
|
||||
model: google/gemini-2.0-flash
|
||||
api_key: test-placeholder-google-gemini
|
||||
timeout: 600
|
||||
max_retries: 2
|
||||
|
||||
- model_name: gemini-2.0-pro
|
||||
litellm_params:
|
||||
model: google/gemini-2.0-pro
|
||||
api_key: test-placeholder-google-gemini
|
||||
timeout: 600
|
||||
max_retries: 2
|
||||
|
||||
- model_name: gemini-1.5-pro
|
||||
litellm_params:
|
||||
model: google/gemini-1.5-pro
|
||||
api_key: test-placeholder-google-gemini
|
||||
timeout: 600
|
||||
max_retries: 2
|
||||
|
||||
- model_name: gemini-1.5-flash
|
||||
litellm_params:
|
||||
model: google/gemini-1.5-flash
|
||||
api_key: test-placeholder-google-gemini
|
||||
timeout: 600
|
||||
max_retries: 2
|
||||
|
||||
- model_name: gemini-pro
|
||||
litellm_params:
|
||||
model: google/gemini-pro
|
||||
api_key: test-placeholder-google-gemini
|
||||
timeout: 600
|
||||
max_retries: 2
|
||||
|
||||
# =====================================================================
|
||||
# Global Configuration
|
||||
# =====================================================================
|
||||
master_key: litellm-local-key-change-in-production
|
||||
database_url: ""
|
||||
print_verbose: true
|
||||
general_settings:
|
||||
disable_ssl_warnings: true
|
||||
request_timeout: 600
|
||||
max_retries: 2
|
||||
|
||||
# =====================================================================
|
||||
# Logging Configuration
|
||||
# =====================================================================
|
||||
litellm_settings:
|
||||
log_responses: true
|
||||
request_timeout: 600
|
||||
max_retries: 2
|
||||
verbose: true
|
||||
Reference in New Issue
Block a user