Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/deploy_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ jobs:
cd /opt/NextChat
git reset --hard
git pull
docker build -t santabrowser/chatgpt-next-web .
docker compose --profile no-proxy down
docker compose --profile no-proxy up -d --build
4 changes: 2 additions & 2 deletions app/config/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,15 +141,15 @@ export const getServerSideConfig = () => {
let defaultModel = process.env.DEFAULT_MODEL ?? "";
let visionModels = process.env.VISION_MODELS ?? "";

if (disableGPT4) {
/*if (disableGPT4) {
if (customModels) customModels += ",";
customModels += DEFAULT_MODELS.filter((m) => isGPT4Model(m.name))
.map((m) => "-" + m.name)
.join(",");
if (defaultModel && isGPT4Model(defaultModel)) {
defaultModel = "";
}
}
}*/

const isStability = !!process.env.STABILITY_API_KEY;

Expand Down
3 changes: 2 additions & 1 deletion app/utils/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ export function useAllModels() {
const configStore = useAppConfig();
const models = useMemo(() => {
return collectModelsWithDefaultModel(
configStore.models,
//configStore.models,
[],
[configStore.customModels, accessStore.customModels].join(","),
accessStore.defaultModel,
);
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:
chatgpt-next-web:
profiles: [ "no-proxy" ]
container_name: chatgpt-next-web
image: yidadaa/chatgpt-next-web
image: santabrowser/chatgpt-next-web
ports:
- 4000:3000
environment:
Expand All @@ -24,7 +24,7 @@ services:
chatgpt-next-web-proxy:
profiles: [ "proxy" ]
container_name: chatgpt-next-web-proxy
image: yidadaa/chatgpt-next-web
image: santabrowser/chatgpt-next-web
ports:
- 3000:3000
environment:
Expand Down