mirror of
https://github.com/morgan9e/chatgpt-web
synced 2026-04-14 00:14:04 +09:00
Merge branch 'Niek:main' into main
This commit is contained in:
@@ -237,6 +237,15 @@
|
||||
"contributions": [
|
||||
"code"
|
||||
]
|
||||
},
|
||||
{
|
||||
"login": "UdonCodes",
|
||||
"name": "Udon",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/143291288?v=4",
|
||||
"profile": "https://codeberg.org/udon",
|
||||
"contributions": [
|
||||
"design"
|
||||
]
|
||||
}
|
||||
],
|
||||
"files": [
|
||||
|
||||
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@@ -15,7 +15,7 @@ jobs:
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version: '20'
|
||||
|
||||
- name: Lint
|
||||
run: npm ci && npx eslint .
|
||||
4
.github/workflows/pages.yml
vendored
4
.github/workflows/pages.yml
vendored
@@ -20,13 +20,13 @@ jobs:
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version: '20'
|
||||
|
||||
- name: Build
|
||||
run: npm ci && npm run lint && npm run build:github
|
||||
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
uses: peaceiris/actions-gh-pages@v4
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./dist
|
||||
@@ -142,6 +142,7 @@ To use ChatGPT-web as a desktop application:
|
||||
<td align="center" valign="top" width="14.28%"><a href="https://github.com/MaksimMisin"><img src="https://avatars.githubusercontent.com/u/6176998?v=4?s=100" width="100px;" alt="Maksim Misin"/><br /><sub><b>Maksim Misin</b></sub></a><br /><a href="https://github.com/Niek/chatgpt-web/commits?author=MaksimMisin" title="Code">💻</a></td>
|
||||
<td align="center" valign="top" width="14.28%"><a href="https://r-wg.it/"><img src="https://avatars.githubusercontent.com/u/22281217?v=4?s=100" width="100px;" alt="romain.wg"/><br /><sub><b>romain.wg</b></sub></a><br /><a href="https://github.com/Niek/chatgpt-web/commits?author=romainwg" title="Documentation">📖</a></td>
|
||||
<td align="center" valign="top" width="14.28%"><a href="https://morgan.kr"><img src="https://avatars.githubusercontent.com/u/53516171?v=4?s=100" width="100px;" alt="Morgan"/><br /><sub><b>Morgan</b></sub></a><br /><a href="https://github.com/Niek/chatgpt-web/commits?author=morgan9e" title="Code">💻</a></td>
|
||||
<td align="center" valign="top" width="14.28%"><a href="https://codeberg.org/udon"><img src="https://avatars.githubusercontent.com/u/143291288?v=4?s=100" width="100px;" alt="Udon"/><br /><sub><b>Udon</b></sub></a><br /><a href="#design-UdonCodes" title="Design">🎨</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM python:3.10.10-alpine3.17
|
||||
FROM python:3-alpine
|
||||
WORKDIR /work
|
||||
|
||||
RUN pip install "fastapi<1.0" "uvicorn<0.22" "lorem-text<=2.1.x"
|
||||
|
||||
1408
package-lock.json
generated
1408
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -17,7 +17,7 @@
|
||||
"@fortawesome/free-brands-svg-icons": "^6.4.2",
|
||||
"@fortawesome/free-regular-svg-icons": "^6.5.1",
|
||||
"@fortawesome/free-solid-svg-icons": "^6.5.1",
|
||||
"@fullhuman/postcss-purgecss": "^5.0.0",
|
||||
"@fullhuman/postcss-purgecss": "^6.0.0",
|
||||
"@microsoft/fetch-event-source": "^2.0.1",
|
||||
"@rollup/plugin-dsv": "^3.0.4",
|
||||
"@sveltejs/vite-plugin-svelte": "^2.5.2",
|
||||
@@ -47,7 +47,7 @@
|
||||
"svelte-local-storage-store": "^0.6.4",
|
||||
"svelte-markdown": "^0.2.3",
|
||||
"svelte-modals": "^1.2.1",
|
||||
"svelte-spa-router": "^3.3.0",
|
||||
"svelte-spa-router": "^4.0.1",
|
||||
"svelte-typeahead": "^4.4.1",
|
||||
"svelte-use-click-outside": "^1.0.0",
|
||||
"tslib": "^2.6.2",
|
||||
|
||||
@@ -75,6 +75,12 @@ const gpt4 = {
|
||||
completion: 0.00006, // $0.06 per 1000 tokens completion
|
||||
max: 8192 // 8k max token buffer
|
||||
}
|
||||
const gpt4o = {
|
||||
...chatModelBase,
|
||||
prompt: 0.000005, // $0.005 per 1000 tokens prompt
|
||||
completion: 0.000015, // $0.015 per 1000 tokens completion
|
||||
max: 131072 // 128k max token buffer
|
||||
}
|
||||
const gpt432k = {
|
||||
...chatModelBase,
|
||||
prompt: 0.00006, // $0.06 per 1000 tokens prompt
|
||||
@@ -103,6 +109,7 @@ export const chatModels : Record<string, ModelDetail> = {
|
||||
'gpt-3.5-turbo-16k': { ...gpt3516k },
|
||||
'gpt-3.5-turbo-16k-0613': { ...gpt3516k },
|
||||
'gpt-4': { ...gpt4 },
|
||||
'gpt-4o': { ...gpt4o },
|
||||
'gpt-4-turbo-preview': { ...gpt4128kpreview },
|
||||
'gpt-4-turbo-2024-04-09': { ...gpt4128kpreview },
|
||||
'gpt-4-0314': { ...gpt4 },
|
||||
|
||||
Reference in New Issue
Block a user