Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Administrator
/
chatgpt.ai-pro.org
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
3
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
8010f945
authored
2023-12-05 10:52:22 +0800
by
Jerald Lim
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
remove gptq
1 parent
04cd5af5
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
client/src/App.js
env-template
index.js
client/src/App.js
View file @
8010f94
...
...
@@ -104,7 +104,7 @@ function App() {
messages
=
JSON
.
stringify
(
chatLogTurboNew
);
}
if
(
currentModel
===
"openchat_3.5
-GPTQ"
||
currentModel
===
"zephyr-7B-beta-GPTQ
"
)
{
if
(
currentModel
===
"openchat_3.5
"
||
currentModel
===
"zephyr-7B-beta
"
)
{
// "gpt-3.5-turbo"
let
chatLogOpenSourceNew
=
[...
chatLogOpenSource
,
{
role
:
"user"
,
content
:
chatInput
}];
setChatLogOpenSource
(
chatLogOpenSourceNew
);
...
...
env-template
View file @
8010f94
...
...
@@ -2,5 +2,5 @@ OPENAI_API_ORG=
OPENAI_API_KEY=
OPENSOURCE_MODELS="openchat_3.5-GPTQ,zephyr-7B-beta-GPTQ"
OPENSOURCE_ENDPOINTS={"openchat_3.5-GPTQ": "https://openchat.llm.ai-pro.org/v1", "zephyr-7B-beta-GPTQ": "https://zephyr.llm.ai-pro.org/v1"}
\ No newline at end of file
OPENSOURCE_MODELS="openchat_3.5,zephyr-7B-beta"
OPENSOURCE_ENDPOINTS={"openchat_3.5": "https://openchat.llm.ai-pro.org/v1", "zephyr-7B-beta": "https://zephyr.llm.ai-pro.org/v1"}
\ No newline at end of file
...
...
index.js
View file @
8010f94
...
...
@@ -80,7 +80,7 @@ app.post('/api', async (req, res) => {
return
;
}
if
(
currentModel
==
"openchat_3.5
-GPTQ"
||
currentModel
==
"zephyr-7B-beta-GPTQ
"
)
{
if
(
currentModel
==
"openchat_3.5
"
||
currentModel
==
"zephyr-7B-beta
"
)
{
runOpensource
(
req
,
res
);
return
;
}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment