diff --git a/.env.example b/.env.example index 2d736a7..3c7840a 100644 --- a/.env.example +++ b/.env.example @@ -97,6 +97,22 @@ AWS_BEDROCK_CONFIG= # Include this environment variable if you want more logging for debugging locally VITE_LOG_LEVEL=debug +# Get your GitHub Personal Access Token here - +# https://github.com/settings/tokens +# This token is used for: +# 1. Importing/cloning GitHub repositories without rate limiting +# 2. Accessing private repositories +# 3. Automatic GitHub authentication (no need to manually connect in the UI) +# +# For classic tokens, ensure it has these scopes: repo, read:org, read:user +# For fine-grained tokens, ensure it has Repository and Organization access +VITE_GITHUB_ACCESS_TOKEN= + +# Specify the type of GitHub token you're using +# Can be 'classic' or 'fine-grained' +# Classic tokens are recommended for broader access +VITE_GITHUB_TOKEN_TYPE=classic + # Example Context Values for qwen2.5-coder:32b # # DEFAULT_NUM_CTX=32768 # Consumes 36GB of VRAM diff --git a/.env.production b/.env.production new file mode 100644 index 0000000..8fe4367 --- /dev/null +++ b/.env.production @@ -0,0 +1,115 @@ +# Rename this file to .env once you have filled in the below environment variables! + +# Get your GROQ API Key here - +# https://console.groq.com/keys +# You only need this environment variable set if you want to use Groq models +GROQ_API_KEY= + +# Get your HuggingFace API Key here - +# https://huggingface.co/settings/tokens +# You only need this environment variable set if you want to use HuggingFace models +HuggingFace_API_KEY= + +# Get your Open AI API Key by following these instructions - +# https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key +# You only need this environment variable set if you want to use GPT models +OPENAI_API_KEY= + +# Get your Anthropic API Key in your account settings - +# https://console.anthropic.com/settings/keys +# You only need this environment variable set if you want to use Claude models +ANTHROPIC_API_KEY= + +# Get your OpenRouter API Key in your account settings - +# https://openrouter.ai/settings/keys +# You only need this environment variable set if you want to use OpenRouter models +OPEN_ROUTER_API_KEY= + +# Get your Google Generative AI API Key by following these instructions - +# https://console.cloud.google.com/apis/credentials +# You only need this environment variable set if you want to use Google Generative AI models +GOOGLE_GENERATIVE_AI_API_KEY= + +# You only need this environment variable set if you want to use oLLAMA models +# DONT USE http://localhost:11434 due to IPV6 issues +# USE EXAMPLE http://127.0.0.1:11434 +OLLAMA_API_BASE_URL= + +# You only need this environment variable set if you want to use OpenAI Like models +OPENAI_LIKE_API_BASE_URL= + +# You only need this environment variable set if you want to use Together AI models +TOGETHER_API_BASE_URL= + +# You only need this environment variable set if you want to use DeepSeek models through their API +DEEPSEEK_API_KEY= + +# Get your OpenAI Like API Key +OPENAI_LIKE_API_KEY= + +# Get your Together API Key +TOGETHER_API_KEY= + +# You only need this environment variable set if you want to use Hyperbolic models +HYPERBOLIC_API_KEY= +HYPERBOLIC_API_BASE_URL= + +# Get your Mistral API Key by following these instructions - +# https://console.mistral.ai/api-keys/ +# You only need this environment variable set if you want to use Mistral models +MISTRAL_API_KEY= + +# Get the Cohere Api key by following these instructions - +# https://dashboard.cohere.com/api-keys +# You only need this environment variable set if you want to use Cohere models +COHERE_API_KEY= + +# Get LMStudio Base URL from LM Studio Developer Console +# Make sure to enable CORS +# DONT USE http://localhost:1234 due to IPV6 issues +# Example: http://127.0.0.1:1234 +LMSTUDIO_API_BASE_URL= + +# Get your xAI API key +# https://x.ai/api +# You only need this environment variable set if you want to use xAI models +XAI_API_KEY= + +# Get your Perplexity API Key here - +# https://www.perplexity.ai/settings/api +# You only need this environment variable set if you want to use Perplexity models +PERPLEXITY_API_KEY= + +# Get your AWS configuration +# https://console.aws.amazon.com/iam/home +AWS_BEDROCK_CONFIG= + +# Include this environment variable if you want more logging for debugging locally +VITE_LOG_LEVEL= + +# Get your GitHub Personal Access Token here - +# https://github.com/settings/tokens +# This token is used for: +# 1. Importing/cloning GitHub repositories without rate limiting +# 2. Accessing private repositories +# 3. Automatic GitHub authentication (no need to manually connect in the UI) +# +# For classic tokens, ensure it has these scopes: repo, read:org, read:user +# For fine-grained tokens, ensure it has Repository and Organization access +VITE_GITHUB_ACCESS_TOKEN= + +# Specify the type of GitHub token you're using +# Can be 'classic' or 'fine-grained' +# Classic tokens are recommended for broader access +VITE_GITHUB_TOKEN_TYPE= + +# Netlify Authentication +VITE_NETLIFY_ACCESS_TOKEN= + +# Example Context Values for qwen2.5-coder:32b +# +# DEFAULT_NUM_CTX=32768 # Consumes 36GB of VRAM +# DEFAULT_NUM_CTX=24576 # Consumes 32GB of VRAM +# DEFAULT_NUM_CTX=12288 # Consumes 26GB of VRAM +# DEFAULT_NUM_CTX=6144 # Consumes 24GB of VRAM +DEFAULT_NUM_CTX= \ No newline at end of file diff --git a/.gitignore b/.gitignore index e74023e..4bc03e1 100644 --- a/.gitignore +++ b/.gitignore @@ -25,6 +25,7 @@ dist-ssr /.history /.cache /build +functions/build/ .env.local .env .dev.vars @@ -44,3 +45,4 @@ changelogUI.md docs/instructions/Roadmap.md .cursorrules *.md +.qodo diff --git a/app/components/@settings/core/ControlPanel.tsx b/app/components/@settings/core/ControlPanel.tsx index 0d90975..925bce1 100644 --- a/app/components/@settings/core/ControlPanel.tsx +++ b/app/components/@settings/core/ControlPanel.tsx @@ -29,7 +29,7 @@ import ProfileTab from '~/components/@settings/tabs/profile/ProfileTab'; import SettingsTab from '~/components/@settings/tabs/settings/SettingsTab'; import NotificationsTab from '~/components/@settings/tabs/notifications/NotificationsTab'; import FeaturesTab from '~/components/@settings/tabs/features/FeaturesTab'; -import DataTab from '~/components/@settings/tabs/data/DataTab'; +import { DataTab } from '~/components/@settings/tabs/data/DataTab'; import DebugTab from '~/components/@settings/tabs/debug/DebugTab'; import { EventLogsTab } from '~/components/@settings/tabs/event-logs/EventLogsTab'; import UpdateTab from '~/components/@settings/tabs/update/UpdateTab'; @@ -416,7 +416,7 @@ export const ControlPanel = ({ open, onClose }: ControlPanelProps) => {
+ {JSON.stringify(diagnosticResults, null, 2)}
+
+ +
Manage your external service connections and integrations
-
+ You can configure connections using environment variables in your{' '}
+
+ .env.local
+ {' '}
+ file:
+
+ Token types: +
+
+ repo, read:org, read:user
+ {' '}
+ scopes
+ + When set, these variables will be used automatically without requiring manual connection. +
++ + Troubleshooting Tip: +
++ If you're having trouble with connections, try using the troubleshooting tool at the top of this page. It can + help diagnose and fix common connection issues. +
+For persistent issues:
+
+
+ Tip: You can also set the{' '}
+
+ VITE_GITHUB_ACCESS_TOKEN
+ {' '}
+ environment variable to connect automatically.
+
+ For fine-grained tokens, also set{' '}
+
+ VITE_GITHUB_TOKEN_TYPE=fine-grained
+
+