feat: 支持 accessToken 请求 web api 调用 (#80)
* feat: 支持 markdown 格式和图片 * perf: 重载的时候滚动条保持 * chore: version 2.5.2 * feat: 添加文字换行 * chore: 添加新封面 * chore: 更新 cover * feat: 支持 web api 的形式 * feat: 支持新模型和调整超时 * feat: 添加反向代理 * chore: 更新 README.md * feat: 添加超时和反向代理显示 * chore: version 2.6.0 * chore: update READMEmain
parent
ac9536ab87
commit
f40048fb08
Binary file not shown.
After Width: | Height: | Size: 108 KiB |
@ -1,2 +1,11 @@
|
|||||||
# OpenAI API Key - https://platform.openai.com/overview
|
# OpenAI API Key - https://platform.openai.com/overview
|
||||||
OPENAI_API_KEY=
|
OPENAI_API_KEY=
|
||||||
|
|
||||||
|
# change this to an `accessToken` extracted from the ChatGPT site's `https://chat.openai.com/api/auth/session` response
|
||||||
|
OPENAI_ACCESS_TOKEN=
|
||||||
|
|
||||||
|
# Reverse Proxy
|
||||||
|
API_REVERSE_PROXY=
|
||||||
|
|
||||||
|
# timeout
|
||||||
|
TIMEOUT_MS=60000
|
||||||
|
@ -0,0 +1,19 @@
|
|||||||
|
<script setup lang='ts'>
|
||||||
|
import { ref } from 'vue'
|
||||||
|
import { HoverButton, Setting, SvgIcon, UserAvatar } from '@/components/common'
|
||||||
|
|
||||||
|
const show = ref(false)
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<footer class="flex items-center justify-between min-w-0 p-4 overflow-hidden border-t">
|
||||||
|
<UserAvatar />
|
||||||
|
<HoverButton tooltip="Setting" @click="show = true">
|
||||||
|
<span class="text-xl text-[#4f555e]">
|
||||||
|
<SvgIcon icon="ri:settings-4-line" />
|
||||||
|
</span>
|
||||||
|
</HoverButton>
|
||||||
|
|
||||||
|
<Setting v-model:visible="show" />
|
||||||
|
</footer>
|
||||||
|
</template>
|
Loading…
Reference in New Issue