mirror of
https://github.com/simstudioai/sim.git
synced 2026-09-24 15:45:35 +08:00
feat(copilot-docs): update readme and docs with local hosting instructions (#1043)
* Docs * Lint
This commit is contained in:
@@ -160,6 +160,7 @@ Copilot is a Sim-managed service. To use Copilot on a self-hosted instance:
|
|||||||
|
|
||||||
- Go to https://sim.ai → Settings → Copilot and generate a Copilot API key
|
- Go to https://sim.ai → Settings → Copilot and generate a Copilot API key
|
||||||
- Set `COPILOT_API_KEY` in your self-hosted environment to that value
|
- Set `COPILOT_API_KEY` in your self-hosted environment to that value
|
||||||
|
- Host Sim on a publicly available DNS and set NEXT_PUBLIC_APP_URL and BETTER_AUTH_URL to that value ([ngrok](https://ngrok.com/))
|
||||||
|
|
||||||
## Tech Stack
|
## Tech Stack
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,10 @@ Copilot is your in-editor assistant that helps you build, understand, and improv
|
|||||||
- **Edit**: Make changes to blocks, connections, and settings when you approve
|
- **Edit**: Make changes to blocks, connections, and settings when you approve
|
||||||
|
|
||||||
<Callout type="info">
|
<Callout type="info">
|
||||||
Copilot is a Sim-managed service. For self-hosted deployments, generate a Copilot API key in the hosted app (sim.ai → Settings → Copilot) and set `COPILOT_API_KEY` in your environment.
|
Copilot is a Sim-managed service. For self-hosted deployments, generate a Copilot API key in the hosted app (sim.ai → Settings → Copilot)
|
||||||
|
1. Go to [sim.ai](https://sim.ai) → Settings → Copilot and generate a Copilot API key
|
||||||
|
2. Set `COPILOT_API_KEY` in your self-hosted environment to that value
|
||||||
|
3. Host Sim on a publicly available DNS and set `NEXT_PUBLIC_APP_URL` and `BETTER_AUTH_URL` to that value (e.g., using ngrok)
|
||||||
</Callout>
|
</Callout>
|
||||||
|
|
||||||
## Modes
|
## Modes
|
||||||
|
|||||||
@@ -31,6 +31,10 @@ const nextConfig: NextConfig = {
|
|||||||
protocol: 'https',
|
protocol: 'https',
|
||||||
hostname: '*.s3.*.amazonaws.com',
|
hostname: '*.s3.*.amazonaws.com',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
protocol: 'https',
|
||||||
|
hostname: 'lh3.googleusercontent.com',
|
||||||
|
},
|
||||||
// Custom domain for file storage if configured
|
// Custom domain for file storage if configured
|
||||||
...(env.NEXT_PUBLIC_BLOB_BASE_URL
|
...(env.NEXT_PUBLIC_BLOB_BASE_URL
|
||||||
? [
|
? [
|
||||||
|
|||||||
Reference in New Issue
Block a user