forked from xtekky/chatgpt-clone
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
1,704 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"CurrentProjectSetting": null | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"TestFramework": "Pytest", | ||
"Interpreter": "Global|PythonCore|3.11" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"ExpandedNodes": [ | ||
"", | ||
"\\chatgpt-clone MY FORK virutal Envrironment", | ||
"\\chatgpt-clone MY FORK virutal Envrironment\\Include", | ||
"\\chatgpt-clone MY FORK virutal Envrironment\\Scripts", | ||
"\\client", | ||
"\\server" | ||
], | ||
"SelectedNode": "\\docker-compose.yml", | ||
"PreviewInSolutionExplorer": false | ||
} |
Binary file added
BIN
+4.62 KB
.vs/chatgpt-clone MY FORK/FileContentIndex/2b51802b-9552-49f8-b50c-1c344eb427a1.vsidx
Binary file not shown.
Binary file added
BIN
+183 KB
.vs/chatgpt-clone MY FORK/FileContentIndex/32228b0a-42dc-4119-aa24-e9ee73d0c68d.vsidx
Binary file not shown.
Binary file added
BIN
+310 KB
.vs/chatgpt-clone MY FORK/FileContentIndex/51290570-6e85-4b07-865e-2e19f9c29847.vsidx
Binary file not shown.
Binary file added
BIN
+4.35 KB
.vs/chatgpt-clone MY FORK/FileContentIndex/aecc545c-1215-4f9e-862e-82484fa65cf7.vsidx
Binary file not shown.
Empty file.
1,026 changes: 1,026 additions & 0 deletions
1,026
.vs/chatgpt-clone MY FORK/config/applicationhost.config
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
502 changes: 502 additions & 0 deletions
502
chatgpt-clone MY FORK virutal Envrironment/Scripts/Activate.ps1
Large diffs are not rendered by default.
Oops, something went wrong.
69 changes: 69 additions & 0 deletions
69
chatgpt-clone MY FORK virutal Envrironment/Scripts/activate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# This file must be used with "source bin/activate" *from bash* | ||
# you cannot run it directly | ||
|
||
deactivate () { | ||
# reset old environment variables | ||
if [ -n "${_OLD_VIRTUAL_PATH:-}" ] ; then | ||
PATH="${_OLD_VIRTUAL_PATH:-}" | ||
export PATH | ||
unset _OLD_VIRTUAL_PATH | ||
fi | ||
if [ -n "${_OLD_VIRTUAL_PYTHONHOME:-}" ] ; then | ||
PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME:-}" | ||
export PYTHONHOME | ||
unset _OLD_VIRTUAL_PYTHONHOME | ||
fi | ||
|
||
# This should detect bash and zsh, which have a hash command that must | ||
# be called to get it to forget past commands. Without forgetting | ||
# past commands the $PATH changes we made may not be respected | ||
if [ -n "${BASH:-}" -o -n "${ZSH_VERSION:-}" ] ; then | ||
hash -r 2> /dev/null | ||
fi | ||
|
||
if [ -n "${_OLD_VIRTUAL_PS1:-}" ] ; then | ||
PS1="${_OLD_VIRTUAL_PS1:-}" | ||
export PS1 | ||
unset _OLD_VIRTUAL_PS1 | ||
fi | ||
|
||
unset VIRTUAL_ENV | ||
unset VIRTUAL_ENV_PROMPT | ||
if [ ! "${1:-}" = "nondestructive" ] ; then | ||
# Self destruct! | ||
unset -f deactivate | ||
fi | ||
} | ||
|
||
# unset irrelevant variables | ||
deactivate nondestructive | ||
|
||
VIRTUAL_ENV="C:\Users\tydew\Source\Repos\chatgpt-clone MY FORK\chatgpt-clone MY FORK virutal Envrironment" | ||
export VIRTUAL_ENV | ||
|
||
_OLD_VIRTUAL_PATH="$PATH" | ||
PATH="$VIRTUAL_ENV/Scripts:$PATH" | ||
export PATH | ||
|
||
# unset PYTHONHOME if set | ||
# this will fail if PYTHONHOME is set to the empty string (which is bad anyway) | ||
# could use `if (set -u; : $PYTHONHOME) ;` in bash | ||
if [ -n "${PYTHONHOME:-}" ] ; then | ||
_OLD_VIRTUAL_PYTHONHOME="${PYTHONHOME:-}" | ||
unset PYTHONHOME | ||
fi | ||
|
||
if [ -z "${VIRTUAL_ENV_DISABLE_PROMPT:-}" ] ; then | ||
_OLD_VIRTUAL_PS1="${PS1:-}" | ||
PS1="(chatgpt-clone MY FORK virutal Envrironment) ${PS1:-}" | ||
export PS1 | ||
VIRTUAL_ENV_PROMPT="(chatgpt-clone MY FORK virutal Envrironment) " | ||
export VIRTUAL_ENV_PROMPT | ||
fi | ||
|
||
# This should detect bash and zsh, which have a hash command that must | ||
# be called to get it to forget past commands. Without forgetting | ||
# past commands the $PATH changes we made may not be respected | ||
if [ -n "${BASH:-}" -o -n "${ZSH_VERSION:-}" ] ; then | ||
hash -r 2> /dev/null | ||
fi |
34 changes: 34 additions & 0 deletions
34
chatgpt-clone MY FORK virutal Envrironment/Scripts/activate.bat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
@echo off | ||
|
||
rem This file is UTF-8 encoded, so we need to update the current code page while executing it | ||
for /f "tokens=2 delims=:." %%a in ('"%SystemRoot%\System32\chcp.com"') do ( | ||
set _OLD_CODEPAGE=%%a | ||
) | ||
if defined _OLD_CODEPAGE ( | ||
"%SystemRoot%\System32\chcp.com" 65001 > nul | ||
) | ||
|
||
set VIRTUAL_ENV=C:\Users\tydew\Source\Repos\chatgpt-clone MY FORK\chatgpt-clone MY FORK virutal Envrironment | ||
|
||
if not defined PROMPT set PROMPT=$P$G | ||
|
||
if defined _OLD_VIRTUAL_PROMPT set PROMPT=%_OLD_VIRTUAL_PROMPT% | ||
if defined _OLD_VIRTUAL_PYTHONHOME set PYTHONHOME=%_OLD_VIRTUAL_PYTHONHOME% | ||
|
||
set _OLD_VIRTUAL_PROMPT=%PROMPT% | ||
set PROMPT=(chatgpt-clone MY FORK virutal Envrironment) %PROMPT% | ||
|
||
if defined PYTHONHOME set _OLD_VIRTUAL_PYTHONHOME=%PYTHONHOME% | ||
set PYTHONHOME= | ||
|
||
if defined _OLD_VIRTUAL_PATH set PATH=%_OLD_VIRTUAL_PATH% | ||
if not defined _OLD_VIRTUAL_PATH set _OLD_VIRTUAL_PATH=%PATH% | ||
|
||
set PATH=%VIRTUAL_ENV%\Scripts;%PATH% | ||
set VIRTUAL_ENV_PROMPT=(chatgpt-clone MY FORK virutal Envrironment) | ||
|
||
:END | ||
if defined _OLD_CODEPAGE ( | ||
"%SystemRoot%\System32\chcp.com" %_OLD_CODEPAGE% > nul | ||
set _OLD_CODEPAGE= | ||
) |
22 changes: 22 additions & 0 deletions
22
chatgpt-clone MY FORK virutal Envrironment/Scripts/deactivate.bat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
@echo off | ||
|
||
if defined _OLD_VIRTUAL_PROMPT ( | ||
set "PROMPT=%_OLD_VIRTUAL_PROMPT%" | ||
) | ||
set _OLD_VIRTUAL_PROMPT= | ||
|
||
if defined _OLD_VIRTUAL_PYTHONHOME ( | ||
set "PYTHONHOME=%_OLD_VIRTUAL_PYTHONHOME%" | ||
set _OLD_VIRTUAL_PYTHONHOME= | ||
) | ||
|
||
if defined _OLD_VIRTUAL_PATH ( | ||
set "PATH=%_OLD_VIRTUAL_PATH%" | ||
) | ||
|
||
set _OLD_VIRTUAL_PATH= | ||
|
||
set VIRTUAL_ENV= | ||
set VIRTUAL_ENV_PROMPT= | ||
|
||
:END |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
home = C:\Users\tydew\AppData\Local\Programs\Python\Python311 | ||
include-system-site-packages = false | ||
version = 3.11.3 | ||
executable = C:\Users\tydew\AppData\Local\Programs\Python\Python311\python.exe | ||
command = C:\Users\tydew\AppData\Local\Programs\Python\Python311\python.exe -m venv C:\Users\tydew\Source\Repos\chatgpt-clone MY FORK\chatgpt-clone MY FORK virutal Envrironment |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
services: | ||
app: | ||
entrypoint: | ||
- sleep | ||
- infinity | ||
image: docker/dev-environments-default:stable-1 | ||
init: true | ||
volumes: | ||
- type: bind | ||
source: /var/run/docker.sock | ||
target: /var/run/docker.sock | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
{ | ||
"site_config": { | ||
"host" : "0.0.0.0", | ||
"port" : 1338, | ||
"debug": false | ||
}, | ||
"openai_key": "sk-...", | ||
"site_config": { | ||
"host": "0.0.0.0", | ||
"port": 1338, | ||
"debug": false | ||
}, | ||
"openai_key": "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", | ||
|
||
"openai_api_base": "https://api.openai.com", | ||
"proxy": { | ||
"enable": true, | ||
"http": "127.0.0.1:7890", | ||
"https": "127.0.0.1:7890" | ||
} | ||
"openai_api_base": "https://api.openai.com", | ||
"proxy": { | ||
"enable": true, | ||
"http": "127.0.0.1:7890", | ||
"https": "127.0.0.1:7890" | ||
} | ||
} |