Giter VIP home page Giter VIP logo

agent-portal's Introduction

Console to let user manage their AI agents for their preference.

  • Add existing agent
  • Build your own AI agent
  • Chat with agents
  • Keep chat history
  • ..

Environment

  • node >= v18.17.0

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

.env 配置 (示例: ./.env.example)

开发模式

cp .env.example .env.development

复制并重命名为 .env.development, 修改 oidc(必须) 等参数

生产模式

cp .env.example .env.production

复制并重命名为 .env.production, 修改 oidc(必须) 等参数

本地运行 pwa (添加到桌面)

  • 构建
npm run build
  • 安装 mkcert 并生成证书
mkcert -install
mkcert localhost
  • 运行带自签名证书的生产模式
npm run start:https

agent-portal's People

Contributors

carrotzpc avatar vsion avatar zggmd avatar linqiqi077 avatar nkwangleigit avatar jandiasnow avatar weiqinke avatar

Stargazers

tesang avatar aaron avatar moonsky avatar HuFeiHu avatar tmon avatar  avatar  avatar bjwswang avatar

Watchers

tesang avatar  avatar  avatar  avatar  avatar  avatar

agent-portal's Issues

[Bug] 存在私有仓库的依赖包,而且在注册私有仓库时,提示超出最大用户数

💻 系统环境 | Operating System

macOS

🐛 问题描述 | Bug Description

  1. 执行 pnpm install 安装依赖的时候,显示存在私有仓库的依赖包
Lockfile is up to date, resolution step is skipped
Packages: +1775
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Downloading registry.npmjs.org/antd/5.12.7: 9.04 MB/9.04 MB, done
 ERR_PNPM_FETCH_401  GET http://dev-npm.k8s.com.cn/@tenx-ui/bff-client/-/bff-client-0.3.1.tgz: Unauthorized - 401

No authorization header was set for the request.

These authorization settings were found:
//registry.npmjs.org/:_authToken=npm_[hidden]
@tenx-ui:registry=http://dev-npm.k8s.com.cn/
Progress: resolved 1775, reused 673, downloaded 301, added 974
Downloading registry.npmjs.org/@next/swc-darwin-x64/14.1.0: 6.43 MB/35.36 MB
Downloading registry.npmjs.org/typescript/5.3.3: 65.00 kB/5.76 MB
  1. 当去自己注册用户时,显示超出最大数量
npm adduser --registry http://dev-npm.k8s.com.cn/ 

npm notice Log in on http://dev-npm.k8s.com.cn/
Username: username
Email: (this IS public) [email protected]
npm ERR! code E403
npm ERR! 403 403 Forbidden - PUT http://dev-npm.k8s.com.cn/-/user/org.couchdb.user:ferryvip - maximum amount of users reached
npm ERR! 403 In most cases, you or one of your dependencies are requesting
npm ERR! 403 a package version that is forbidden by your security policy, or
npm ERR! 403 on a server you do not have access to.

npm ERR! A complete log of this run can be found in: /Users/ferry/.npm/_logs/2024-03-27T07_24_48_564Z-debug-0.log

🚦 期望结果 | Expected Behavior

目前依赖安装不了,项目基本跑不起来

📷 复现步骤 | Recurrence Steps

image

📝 补充信息 | Additional Information

No response

Refine README for oidc integration

the step to configure oidc is not correct and no example provided, it should be:

OIDC_SERVER_URL=https://portal.172.40.20.125.nip.io
CLIENT_ID=bff-client
CLIENT_SECRET=61324af0-773f-4f61-b110-ef57013267d6
CLIENT_ORIGIN=http://localhost:3000
CLIENT_REDIRECT_URI=/oidc/callback
  1. need to merge ORIGIN and REDIRECT_URI to one env named CLIENT_REDIRECT_URI, and has a value like http://localhost:3000/oidc/callback
  2. consider to use a yaml/json configuration file for agent-portal config management

[Request] oidc 登录对接

🥰 需求描述 | Feature Description

如题

🧐 解决方案 | Proposed Solution

接入 kubebb oidc 登录

📝 补充信息 | Additional Information

No response

功能问题

💻 系统环境 | Operating System

Windows

🐛 问题描述 | Bug Description

大流程上提出三点问题:
1.涉及登录信息的模块在未跳转时跳到了登录页面,现在没有登录页面
2.未登录缺少token ,/kubeagi-apis/bff接口无限调用浪费资源
3.提问功能输入框内容回车和发送按钮逻辑不一样 回车没有拦截未关联模块的情况

🚦 期望结果 | Expected Behavior

增加登录页面

📷 复现步骤 | Recurrence Steps

点击登录或者点击创建智能体模块

📝 补充信息 | Additional Information

完善页面

[Request] AI 智能体列表

🥰 需求描述 | Feature Description

如题

🧐 解决方案 | Proposed Solution

image

📝 补充信息 | Additional Information

No response

[Bug] UI Bug

💻 系统环境 | Operating System

macOS

🐛 问题描述 | Bug Description

从 dark 模式进入,页面会先从白色模式闪变到黑色模式

1.mov

🚦 期望结果 | Expected Behavior

No response

📷 复现步骤 | Recurrence Steps

No response

📝 补充信息 | Additional Information

No response

[Bug] UI Issues

💻 系统环境 | Operating System

Windows

🐛 问题描述 | Bug Description

UI issues

image

未登录状态需要设计下,这里显示像加载失败
image

🚦 期望结果 | Expected Behavior

No response

📷 复现步骤 | Recurrence Steps

No response

📝 补充信息 | Additional Information

No response

[Question] 面试疑问

🧐 问题描述 | Proposed Solution

你好,我在求职时hr给我发送了两个github,让我先去解issue或者提issue然后在面试,当我再给他发消息就是未读了,所以我想知道的是,假如我按照他说的,那么公司如何知道是我,并且如何进行下一步的面试呢,git上的用户名都不是姓名

📝 补充信息 | Additional Information

No response

[Request] 支持手机号登录

🥰 需求描述 | Feature Description

用户可以通过手机号登录并自动注册。

🧐 解决方案 | Proposed Solution

用户可以通过手机号登录并自动注册。

📝 补充信息 | Additional Information

No response

[Request] 个人中心

🥰 需求描述 | Feature Description

如题

🧐 解决方案 | Proposed Solution

image

📝 补充信息 | Additional Information

No response

[Bug] Opimise the page loading cost

💻 系统环境 | Operating System

macOS

🐛 问题描述 | Bug Description

Opimise the page loading cost

image

🚦 期望结果 | Expected Behavior

open a page with less time < 1s.

📷 复现步骤 | Recurrence Steps

No response

📝 补充信息 | Additional Information

No response

[Bug] 登录后右上角仍然显示login

💻 系统环境 | Operating System

Windows

🐛 问题描述 | Bug Description

image

🚦 期望结果 | Expected Behavior

image

📷 复现步骤 | Recurrence Steps

No response

📝 补充信息 | Additional Information

No response

[Request] AI 智能体创建/编辑

🥰 需求描述 | Feature Description

如题

🧐 解决方案 | Proposed Solution

image

📝 补充信息 | Additional Information

No response

[Request] 支持微信登录

🥰 需求描述 | Feature Description

支持用户通过微信登录并自动注册

🧐 解决方案 | Proposed Solution

支持用户通过微信登录并自动注册

📝 补充信息 | Additional Information

No response

好像不能登录[Question]

🧐 问题描述 | Proposed Solution

点击登录或者创建智能体,都会跳转到
https://portal.kubeagi.com/oidc/auth?client_id=bff-client&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Foidc%2Fcallback&response_type=code&scope=openid%20profile%20email%20groups%20offline_access

这个地址显示INTERNAL_SERVER_ERROR,client_id与client_secret用的是另一个issue里面的

CLIENT_ID=bff-client
CLIENT_SECRET=61324af0-773f-4f61-b110-ef57013267d6

📝 补充信息 | Additional Information

No response

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.