Giter Club home page Giter Club logo

chatgpt-vercel's People

Contributors

caoyunzhou avatar dggbond avatar fatdoge avatar lvqq avatar metrue avatar wanghsinche avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chatgpt-vercel's Issues

discord images

so it works on my dicsord but is NOT displayed.

Failed to load resource: the server responded with a status of 400 ()
/api/images?model=Midjourney&prompt=a%20car&serverId=&channelId=&token=:1 Failed to load resource: the server responded with a status of 400 ()
/api/images?model=Midjourney&prompt=a%20car&serverId=&channelId=&token=:1 Failed to load resource: the server responded with a status of 400 ()
/api/images?model=Midjourney&prompt=a%20car&serverId=&channelId=&token=:1 Failed to load resource: the server responded with a status of 400 ()
/api/images?model=Midjourney&prompt=a%20car&serverId=&channelId=&token=:1 Failed to load resource: the server responded with a status of 400 ()
/api/images?model=Midjourney&prompt=a%20car&serverId=&channelId=&token=:1 Failed to load resource: the server responded with a status of 400 ()
/api/images?model=Midjourney&prompt=a%20car&serverId=&channelId=&token=:1 Failed to load resource: the server responded with a status of 400 ()
/api/images?model=Midjourney&prompt=a%20car&serverId=&channelId=&token=:1 Failed to load resource: the server responded with a status of 400 ()

默认回车发送对话容易误操作

用的 macos 自带的中文输入法,想按回车直接键入英文的话,这时候会直接触发对话请求,不清楚其他输入法是否有相同问题。

了解下代码哪部分可以修改默认换行快捷键也行。个人习惯用更容易的 enter 进行换行这种频繁操作,复杂点的 command + enter 来发送会话(确认)。

自己尝试着改了几次都没有生效,故来请教下作者大大。

[Attention] Midjourney Risk Warning

image

Today Midjourney updated the above detection. If not confirmed in time on multiple times, there will be a risk of blocking your account. Please be cautious when using Midjourney functions.

今天 Midjourney 更新了如上的检测机制。如多次未及时确认,将存在账号被封禁的风险。请谨慎使用 Midjourney 相关功能。

支持页面内语言选择、语音输入输出和对话导出功能

尊敬的维护者和贡献者,

您好!首先,我要感谢您在这个项目上所做的出色工作。在此,我有一些建议,我相信这些功能可以大大提高用户体验。

希望支持:

  • 页面内语言选择功能:希望能够在网页上直接切换不同的语言选项,让用户可以更方便地选择他们想要的语言。

  • 语音输入输出功能:我发现 chatkit.app 在这方面做得非常好,它使用了Azure TTS。如果我们能在项目中加入类似的语音输入和输出功能,将会使用户体验更加丰富。

  • 对话Markdown导出功能:希望能提供一个简单的方法,让用户能够将他们的对话导出为Markdown文件,以便他们可以在其他地方使用或存储这些信息。

再次感谢您为这个项目所付出的努力,期待您的回复。祝好!

注:该issue由ChatGPT生成

回复图片失败

在提供示例网站中测试生成一张图片 能生成链接 但是无法展示
image

个人部署的网站测试无法生成图片
image

关于画图选择模型

生成MIDjourney图片 需要在模型中选择midjourney模型吗 还是选择dall e模型过后在输入框前面加入mdjrny-v4 style就可以了

Change bubble color

Please add feature if possible to change bubble color, since the default color is somewhat eye-straining and changing bubble color would be cooler. Anyway, thanks for this.

国内使用vercel部署后(已设置域名中转),midjourney图像仍无法加载

如题,国内使用vercel部署成功后,并已成功设置国内可直接访问的域名,域名能在国内不翻墙直接打开。但使用midjourney功能生成图像后,如果不翻墙,就无法正确加载图像。翻墙后,才能正确加载。

猜测原因是,生成的图像仍然是discord域名下的图像markdown图像,国内无法直接访问,所以一直无法加载。翻墙后,才能正确显示。

默认回复中文

发送一段代码,现在回复的是英文的代码解释,可不可以让它默认回复中文的解释。这只是一个举例。

关于openai key的问题

按照项目教程,我deploy后,在环境变量里添加了语言和openai key,但是打开网页后还是需要在页面里设置openai key 才能使用,否则会提示没有key,请问这样的话deploy时环境变量添加openai key有什么作用?另外设置的语言也不起作用,不知是哪步做错了?

ui界面应该怎么修改

PC端全屏情况下ui占比比较难看,请问能不能设置个参数,左半部分和右半部分的占比可以调,把左边对话预览的那一栏设置的小一点

[Discussion] make use of the new function calling feature

新出的函数调用特性看起来就是给AI提供一个备选tool list,当chatgpt意识到自己无非解决问题,会生成调用函数指令,发送回客户端。按照这个说法,开发者其实可以自己做plugin了。

不知道目前业内有什么实践么。

丢失回复

点击回复的网址,跳转到对应页面,然后返回会丢失回复的最后一条信息。
本来有两个回复,两次跳转返回后都丢失了。
image

API_KEY_STRATEGY 模式的疑问

轮询方案:
API_KEY_STRATEGY : polling/random

我看代码中 polling 模式只是从 0开始拿apikey 并不是请求失败一个在拿一个key 重新请求

能否帮忙指点迷津 吗?

import { serverGlobalConfigs } from '@configs/server';
import { StrategyMode } from '@interfaces';

export function loadBalancer<T>(arr: T[], strategy: StrategyMode = 'random') {
  if (!Array.isArray(arr) || arr.length === 0) return () => null;
  if (arr.length === 1) return () => arr[0];

  if (strategy === 'polling') {
    // eslint-disable-next-line no-plusplus
    return () => arr[serverGlobalConfigs.polling++ % arr.length];
  }

  return () => arr[Math.floor(Math.random() * arr.length)];
}

bug 同一关键词会取出同一张图

我开了两个窗口 一个无痕 一个正常 发送的同一prompt midjourney生成出了两张图片 但是两个窗口回调的都是同一张图
我记得之前的版本 我这样测试是没问题的 不会取出同一张图

1684925778196
1684925795339

错误回调 当接收回来的信息是空时 可能就是参数错误 或者是敏感词
1684925950483
1684925969924

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.