Closed PeterDaveHello closed 2 months ago
@PeterDaveHello is attempting to deploy a commit to the NextChat Team on Vercel.
A member of the Team first needs to authorize it.
The changes add support for fetching and handling Taiwanese (TW) language prompts in addition to the existing English (EN) and Chinese (CN) prompts. This involves updating the array handling fetch prompts and the built-in prompt count in the prompt.ts
file. The fetch-prompts.mjs
script is also updated to fetch, process, and filter TW prompts from a new URL.
Files | Change Summary |
---|---|
app/store/prompt.ts | Updated prompt handling to include Taiwanese (TW) prompts in the fetch array and built-in prompt count. |
scripts/fetch-prompts.mjs | Added functionality to fetch and filter TW prompts, including a new URL and processing logic. |
sequenceDiagram
actor User
participant App as Application
participant Store as Prompt Store
participant API as API Service
User->>App: Access prompts
App->>Store: fetchPrompts()
Store->>API: Fetch EN, CN, TW prompts
API-->>Store: Return prompts in EN, CN, TW
Store-->>App: Store prompts and update count
App-->>User: Display prompts
In a digital sea where languages blend, A new prompt in TW, our latest trend. From scripts that fetch with careful care, To counts that tally, nothing left spare. 🐇✨ Hopping forward, our app does mend! 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Your build has completed!
[Preview deployment]()
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
Add Traditional Chinese prompts converted from the Simplified Chinese version.
📝 补充信息 | Additional Information
Reference: https://github.com/PlexPt/awesome-chatgpt-prompts-zh/blob/main/prompts-zh-TW.json
Summary by CodeRabbit
New Features
Enhancements