Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
opencompass
Commits
eda72e75
Unverified
Commit
eda72e75
authored
Dec 18, 2023
by
Hubert
Committed by
GitHub
Dec 18, 2023
Browse files
[Fix] minor fix openai (#711)
parent
637628a7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
opencompass/models/__init__.py
opencompass/models/__init__.py
+1
-1
opencompass/models/openai_api.py
opencompass/models/openai_api.py
+0
-1
No files found.
opencompass/models/__init__.py
View file @
eda72e75
...
...
@@ -17,7 +17,7 @@ from .minimax_api import MiniMax # noqa: F401
from
.mixtral
import
Mixtral
# noqa: F401
from
.modelscope
import
ModelScope
,
ModelScopeCausalLM
# noqa: F401, F403
from
.moonshot_api
import
MoonShot
# noqa: F401
from
.openai_api
import
OpenAI
,
OpenAIAllesAPIN
# noqa: F401
from
.openai_api
import
OpenAI
# noqa: F401
from
.pangu_api
import
PanGu
# noqa: F401
from
.sensetime_api
import
SenseTime
# noqa: F401
from
.turbomind
import
TurboMindModel
# noqa: F401
...
...
opencompass/models/openai_api.py
View file @
eda72e75
...
...
@@ -312,7 +312,6 @@ class OpenAI(BaseAPIModel):
return
prompt
@
MODELS
.
register_module
(
name
=
[
'OpenAIAllesAPIN'
])
class
OpenAIAllesAPIN
(
OpenAI
):
"""Model wrapper around OpenAI-AllesAPIN.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
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 comment