Skip to content

Conversation

@yvonneyx
Copy link
Contributor

@yvonneyx yvonneyx commented Oct 30, 2025

小预告:由 AntV 出品的 AI 答疑助手即将在 11.22 各大官网上线,三方 Petercat 没 key了😭先做下线处理。

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @yvonneyx, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

此拉取请求旨在移除站点配置文件中对第三方 Petercat 服务的引用。这是为了配合 AntV 团队即将推出的自有 AI 答疑助手,该助手将取代 Petercat,提供更集成和定制化的问答体验。通过此次清理,我们为新服务的上线做好了准备,并简化了项目配置。

Highlights

  • 移除 Petercat 配置: 移除了 packages/site/.dumirc.ts 文件中关于 Petercat 的配置项,包括 showtoken 属性。
  • 为 AntV AI 答疑助手上线做准备: 此更改是为了配合 AntV 自研 AI 答疑助手即将于 11 月 22 日上线,届时将替代原有的第三方 Petercat 服务。
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

本次变更按预期移除了 petercat 的相关配置。然而,这次提交暴露了一个严重的安全问题:源代码中存在硬编码的 API 令牌。尽管此令牌已被移除,但它仍然存在于 Git 的历史记录中。该令牌应被视为已泄露,并立即作废。建议对代码库进行审计,查找其他硬编码的密钥,并且未来应通过环境变量或密钥管理服务来管理此类敏感信息。

@codecov-commenter
Copy link

codecov-commenter commented Oct 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.60%. Comparing base (38b8d16) to head (90de1d1).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##               v5    #7469   +/-   ##
=======================================
  Coverage   95.60%   95.60%           
=======================================
  Files         188      188           
  Lines        9874     9874           
  Branches     2131     2131           
=======================================
  Hits         9440     9440           
- Misses        402      434   +32     
+ Partials       32        0   -32     
Flag Coverage Δ
g6 95.60% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 12 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@yvonneyx yvonneyx merged commit 1d76473 into v5 Oct 31, 2025
3 checks passed
@yvonneyx yvonneyx deleted the petercat branch October 31, 2025 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

官网的智能AI助手问什么都回答“ops... [object Object]”

4 participants