From 29328e42bc5f218b62dcdb83a7f48ad34fb42266 Mon Sep 17 00:00:00 2001 From: dabumana Date: Fri, 21 Jul 2023 01:14:34 -0500 Subject: [PATCH 1/2] Update README.md --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index a1445a8..3b0fbfb 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,22 @@ Each new conversation can be exported once you finished your prompt requests, ke ***16K Models*** can process larger training sessions, but it depends on how much context can be found once the results are filtered and processed. +### Just run :octopus: + +- Download installation script +``` +curl -sL https://gist.github.com/dabumana/eaa4bce0a34b1b6cc68e6f54b70b6182/raw/install-caos.sh>>install-caos.sh +``` +- Add permissions to the file +``` +chmod +x install-caos.sh +``` +- Now execute the following command, define the amount of cpus, do not forget to add your *API-KEY* for *OpenAI* and *ZeroGPT*. + +``` +./install-caos.sh +``` + ### Build :wrench: Firts download the repository, installation process can be completed from the source using ***make*** and installing the required dependencies: From f220c511072e96598c728e1b3be48322110743ec Mon Sep 17 00:00:00 2001 From: dabumana Date: Fri, 21 Jul 2023 01:46:56 -0500 Subject: [PATCH 2/2] Virtualization Change Log: - Gist added with an easy-to-run script for docker use - Documentation updated --- README.md | 19 +++++++++++++++++-- src/service/layout.go | 2 +- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3b0fbfb..b2df6d0 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,13 @@ Each new conversation can be exported once you finished your prompt requests, ke ***16K Models*** can process larger training sessions, but it depends on how much context can be found once the results are filtered and processed. -### Just run :octopus: +### Ready to use pod :octopus: + +#### Requirements to virtualize: + +- Docker + +#### First run: - Download installation script ``` @@ -52,12 +58,21 @@ curl -sL https://gist.github.com/dabumana/eaa4bce0a34b1b6cc68e6f54b70b6182/raw/i ``` chmod +x install-caos.sh ``` -- Now execute the following command, define the amount of cpus, do not forget to add your *API-KEY* for *OpenAI* and *ZeroGPT*. +- Now execute the following command, define the amount of cpus, do not forget to add your *API-KEY* for *OpenAI* and *ZeroGPT*, this script will create the pod and includes the environment variables required, once the pod completes the build stage will run for first time. ``` ./install-caos.sh ``` +- Then a new file it's generated called caos.sh, this file requires permissions to run +``` +chmod +x caos.sh +``` +#### Daily use case: +- Next time you just need to run +``` +./caos.sh +``` ### Build :wrench: Firts download the repository, installation process can be completed from the source using ***make*** and installing the required dependencies: diff --git a/src/service/layout.go b/src/service/layout.go index 3b8b0a0..f50feb1 100644 --- a/src/service/layout.go +++ b/src/service/layout.go @@ -466,7 +466,7 @@ func generateLayoutContent() { SetBackgroundColor(tcell.ColorBlack) // Input node.layout.promptArea. - SetPlaceholderStyle(tcell.StyleDefault.Background(tcell.ColorWhite)). + SetPlaceholderStyle(tcell.StyleDefault.Background(tcell.ColorDarkSlateGray)). SetSelectedStyle(tcell.StyleDefault.Background(tcell.ColorPurple)). SetTextStyle(tcell.StyleDefault.Background(tcell.Color100)). SetBorderPadding(1, 1, 1, 1).