chore: remove trailing whitespace

This commit is contained in:
Carl Sutton
2024-04-09 10:13:35 +02:00
parent f317a3e38f
commit 36d274ca9f
7 changed files with 17 additions and 17 deletions
+3 -3
View File
@@ -13,7 +13,7 @@ _Last updated Dec 16, 2023_
1. **Ensure Ollama API Server is Running**: Follow the official instructions to get Ollama up and running on your machine 1. **Ensure Ollama API Server is Running**: Follow the official instructions to get Ollama up and running on your machine
- For detailed instructions on setting up the Ollama API server, please refer to the - For detailed instructions on setting up the Ollama API server, please refer to the
[Ollama download page](https://ollama.ai/download) and [instructions for linux](https://github.com/jmorganca/ollama/blob/main/docs/linux.md). [Ollama download page](https://ollama.ai/download) and [instructions for linux](https://github.com/jmorganca/ollama/blob/main/docs/linux.md).
2. **Add Ollama as a Model Source**: In `big-AGI`, navigate to the **Models** section, select **Add a model source**, and choose **Ollama** 2. **Add Ollama as a Model Source**: In `big-AGI`, navigate to the **Models** section, select **Add a model source**, and choose **Ollama**
3. **Enter Ollama Host URL**: Provide the Ollama Host URL where the API server is accessible (e.g., `http://localhost:11434`) 3. **Enter Ollama Host URL**: Provide the Ollama Host URL where the API server is accessible (e.g., `http://localhost:11434`)
4. **Refresh Model List**: Once connected, refresh the list of available models to include the Ollama models 4. **Refresh Model List**: Once connected, refresh the list of available models to include the Ollama models
@@ -37,7 +37,7 @@ _Last updated Dec 16, 2023_
### ⚠️ Network Troubleshooting ### ⚠️ Network Troubleshooting
If you get errors about the server having trouble connecting with Ollama, please see If you get errors about the server having trouble connecting with Ollama, please see
[this message](https://github.com/enricoros/big-AGI/issues/276#issuecomment-1858591483) on Issue #276. [this message](https://github.com/enricoros/big-AGI/issues/276#issuecomment-1858591483) on Issue #276.
And in brief, make sure the Ollama endpoint is accessible from the servers where you run big-AGI (which could And in brief, make sure the Ollama endpoint is accessible from the servers where you run big-AGI (which could
@@ -75,7 +75,7 @@ Then, edit the nginx configuration file `/etc/nginx/sites-enabled/default` and a
proxy_set_header Connection 'upgrade'; proxy_set_header Connection 'upgrade';
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade; proxy_cache_bypass $http_upgrade;
# Disable buffering for the streaming responses # Disable buffering for the streaming responses
proxy_buffering off; proxy_buffering off;
} }
+4 -4
View File
@@ -25,15 +25,15 @@ This guide assumes that **big-AGI** is already installed on your system. Note th
- Stop the Web UI as we need to modify the startup flags to enable the OpenAI API - Stop the Web UI as we need to modify the startup flags to enable the OpenAI API
2. Enable the **openai extension** 2. Enable the **openai extension**
- Edit `CMD_FLAGS.txt` - Edit `CMD_FLAGS.txt`
- Make sure that `--listen --api` is present and uncommented - Make sure that `--listen --api` is present and uncommented
3. Restart text-generation-webui 3. Restart text-generation-webui
- Double-click on "start" - Double-click on "start"
- You should see something like: - You should see something like:
``` ```
2023-12-07 21:51:21 INFO:Loading the extension "openai"... 2023-12-07 21:51:21 INFO:Loading the extension "openai"...
2023-12-07 21:51:21 INFO:OpenAI-compatible API URL: 2023-12-07 21:51:21 INFO:OpenAI-compatible API URL:
http://0.0.0.0:5000 http://0.0.0.0:5000
... ...
INFO: Uvicorn running on http://0.0.0.0:5000 (Press CTRL+C to quit) INFO: Uvicorn running on http://0.0.0.0:5000 (Press CTRL+C to quit)
Running on local URL: http://0.0.0.0:7860 Running on local URL: http://0.0.0.0:7860
+4 -4
View File
@@ -66,7 +66,7 @@ Test your application thoroughly using local development (refer to README.md for
We introduced the `/info/debug` page that provides a detailed overview of the application's environment, including the API keys, environment variables, and other configuration settings. We introduced the `/info/debug` page that provides a detailed overview of the application's environment, including the API keys, environment variables, and other configuration settings.
<br/> <br/>
## Community Projects - Share Your Project ## Community Projects - Share Your Project
@@ -74,12 +74,12 @@ After deployment, share your project with the community. We will link to your pr
| Project | Features | GitHub | | Project | Features | GitHub |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------| |----------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------|
| 🚀 CoolAGI: Where AI meets Imagination<br/>![CoolAGI Logo](https://github.com/nextgen-user/freegpt4plus/assets/150797204/9b0e1232-4791-4d61-b949-16f9eb284c22) | Code Interpreter, Vision, Mind maps, Web Searches, Advanced Data Analytics, Large Data Handling and more! | [nextgen-user/CoolAGI](https://github.com/nextgen-user/CoolAGI) | | 🚀 CoolAGI: Where AI meets Imagination<br/>![CoolAGI Logo](https://github.com/nextgen-user/freegpt4plus/assets/150797204/9b0e1232-4791-4d61-b949-16f9eb284c22) | Code Interpreter, Vision, Mind maps, Web Searches, Advanced Data Analytics, Large Data Handling and more! | [nextgen-user/CoolAGI](https://github.com/nextgen-user/CoolAGI) |
| HL-GPT | Fully remodeled UI | [harlanlewis/nextjs-chatgpt-app](https://github.com/harlanlewis/nextjs-chatgpt-app) | | HL-GPT | Fully remodeled UI | [harlanlewis/nextjs-chatgpt-app](https://github.com/harlanlewis/nextjs-chatgpt-app) |
For public projects, update your README.md with your modifications and submit a pull request to add your project to our list, aiding in its discovery. For public projects, update your README.md with your modifications and submit a pull request to add your project to our list, aiding in its discovery.
<br/> <br/>
## Best Practices ## Best Practices
+1 -1
View File
@@ -53,7 +53,7 @@ As of Feb 27, 2024, this feature is in development.
## Configurations ## Configurations
| Scope | Default | Description / Instructions | | Scope | Default | Description / Instructions |
|-----------------------------------------------------------------------------------------|------------------|-------------------------------------------------------------------------------------------------------------------------| |-----------------------------------------------------------------------------------------|------------------|-------------------------------------------------------------------------------------------------------------------------|
| Your source builds of big-AGI | None | **Vercel**: enable Vercel Analytics from the dashboard. · **Google Analytics**: set environment variable at build time. | | Your source builds of big-AGI | None | **Vercel**: enable Vercel Analytics from the dashboard. · **Google Analytics**: set environment variable at build time. |
| Your docker builds of big-AGI | None | **Vercel**: n/a. · **Google Analytics**: set environment variable at `docker build` time. | | Your docker builds of big-AGI | None | **Vercel**: n/a. · **Google Analytics**: set environment variable at `docker build` time. |
+1 -1
View File
@@ -9,7 +9,7 @@ Docker ensures faster development cycles, easier collaboration, and seamless env
```bash ```bash
git clone https://github.com/enricoros/big-agi.git git clone https://github.com/enricoros/big-agi.git
cd big-agi cd big-agi
``` ```
2. **Build the Docker Image**: Build a local docker image from the provided Dockerfile: 2. **Build the Docker Image**: Build a local docker image from the provided Dockerfile:
```bash ```bash
docker build -t big-agi . docker build -t big-agi .
+2 -2
View File
@@ -91,7 +91,7 @@ requiring the user to enter an API key
| `ANTHROPIC_API_HOST` | Changes the backend host for the Anthropic vendor, to enable platforms such as [config-aws-bedrock.md](config-aws-bedrock.md) | Optional | | `ANTHROPIC_API_HOST` | Changes the backend host for the Anthropic vendor, to enable platforms such as [config-aws-bedrock.md](config-aws-bedrock.md) | Optional |
| `GEMINI_API_KEY` | The API key for Google AI's Gemini | Optional | | `GEMINI_API_KEY` | The API key for Google AI's Gemini | Optional |
| `GROQ_API_KEY` | The API key for Groq Cloud | Optional | | `GROQ_API_KEY` | The API key for Groq Cloud | Optional |
| `LOCALAI_API_HOST` | Sets the URL of the LocalAI server, or defaults to http://127.0.0.1:8080 | Optional | | `LOCALAI_API_HOST` | Sets the URL of the LocalAI server, or defaults to http://127.0.0.1:8080 | Optional |
| `LOCALAI_API_KEY` | The (Optional) API key for LocalAI | Optional | | `LOCALAI_API_KEY` | The (Optional) API key for LocalAI | Optional |
| `MISTRAL_API_KEY` | The API key for Mistral | Optional | | `MISTRAL_API_KEY` | The API key for Mistral | Optional |
| `OLLAMA_API_HOST` | Changes the backend host for the Ollama vendor. See [config-local-ollama.md](config-local-ollama) | | | `OLLAMA_API_HOST` | Changes the backend host for the Ollama vendor. See [config-local-ollama.md](config-local-ollama) | |
@@ -128,7 +128,7 @@ Enable the app to Talk, Draw, and Google things up.
| `GOOGLE_CSE_ID` | Google Custom/Programmable Search Engine ID - [Link to PSE](https://programmablesearchengine.google.com/) | | `GOOGLE_CSE_ID` | Google Custom/Programmable Search Engine ID - [Link to PSE](https://programmablesearchengine.google.com/) |
| **Browse** | | | **Browse** | |
| `PUPPETEER_WSS_ENDPOINT` | Puppeteer WebSocket endpoint - used for browsing (pade downloadeing), etc. | | `PUPPETEER_WSS_ENDPOINT` | Puppeteer WebSocket endpoint - used for browsing (pade downloadeing), etc. |
| **Backend** | | | **Backend** | |
| `BACKEND_ANALYTICS` | Semicolon-separated list of analytics flags (see backend.analytics.ts). Flags: `domain` logs the responding domain. | | `BACKEND_ANALYTICS` | Semicolon-separated list of analytics flags (see backend.analytics.ts). Flags: `domain` logs the responding domain. |
| `HTTP_BASIC_AUTH_USERNAME` | See the [Authentication](deploy-authentication.md) guide. Username for HTTP Basic Authentication. | | `HTTP_BASIC_AUTH_USERNAME` | See the [Authentication](deploy-authentication.md) guide. Username for HTTP Basic Authentication. |
| `HTTP_BASIC_AUTH_PASSWORD` | Password for HTTP Basic Authentication. | | `HTTP_BASIC_AUTH_PASSWORD` | Password for HTTP Basic Authentication. |
+2 -2
View File
@@ -90,10 +90,10 @@ or follow the steps below for a quick start.
```bash ```bash
# 2A. if you built the image yourself: # 2A. if you built the image yourself:
docker run -d -p 3000:3000 big-agi docker run -d -p 3000:3000 big-agi
# 2B. or use the pre-built image: # 2B. or use the pre-built image:
docker run -d -p 3000:3000 ghcr.io/enricoros/big-agi docker run -d -p 3000:3000 ghcr.io/enricoros/big-agi
# 2C. or use docker-compose: # 2C. or use docker-compose:
docker-compose up docker-compose up
``` ```