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
60739d36
authored
2023-03-28 16:59:35 +0800
by
Jonille Arreglo
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
update
1 parent
d2da63b4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
client/src/App.js
client/src/SideMenu.js
client/src/App.js
View file @
60739d3
...
...
@@ -43,8 +43,13 @@ function App() {
if
(
a
.
id
<
b
.
id
)
{
return
-
1
;
}
if
(
a
.
id
>
b
.
id
)
{
return
1
;
}
return
0
;
})
setModels
(
data
.
models
.
data
)
});
let
model_list
=
[];
for
(
var
i
=
1
;
i
<
data
.
models
.
data
.
length
;
i
++
)
{
let
model
=
data
.
models
.
data
[
i
];
if
(
model
.
id
!=
"whisper-1"
)
model_list
.
push
(
model
);
}
setModels
(
model_list
)
})
}
...
...
client/src/SideMenu.js
View file @
60739d3
...
...
@@ -21,8 +21,8 @@ const SideMenu = ({ clearChat, currentModel, setCurrentModel, models, setTempera
key
=
{
model
.
id
}
value
=
{
model
.
id
}
>
{
model
.
id
}
<
/option
>
))
:
<
option
key
=
{
"
text-davinci-003
"
}
value
=
{
"
text-davinci-003"
}
>
{
"text-davinci-003
"
}
<
/option>
}
key
=
{
"
gpt-3.5-turbo
"
}
value
=
{
"
gpt-3.5-turbo"
}
>
{
"gpt-3.5-turbo
"
}
<
/option>
}
<
/select
>
<
Button
...
...
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