add cn docs translated by gpt 5.5#222
Conversation
There was a problem hiding this comment.
Code Review
This pull request adds several chatflow and agent configuration JSON files, along with an SVG logo, to the Simplified Chinese translation assets directory (cn/.gitbook/assets/). However, a critical security issue was identified regarding a hardcoded OpenAI API key in the OpenAPI Toolkit with ToolAgent Chatflow file. Additionally, the newly added JSON files are entirely in English and lack the expected Chinese translations.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| "inputAnchors": [], | ||
| "inputs": { | ||
| "returnDirect": "", | ||
| "headers": "{\"Authorization\":\"Bearer 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\"}", |
There was a problem hiding this comment.
A hardcoded OpenAI API key (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) was found in the headers of the OpenAPI Toolkit node. This key must be revoked immediately to prevent unauthorized usage and billing charges. Please replace it with a placeholder or use environment variables/credentials to manage sensitive keys.
| "headers": "{\"Authorization\":\"Bearer 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\"}", | |
| "headers": "{\"Authorization\":\"Bearer YOUR_OPENAI_API_KEY\"}", |
| @@ -0,0 +1,2168 @@ | |||
| { | |||
| "description": "An agent based approach using AgentflowV2 to perform self-correcting question answering over documents", | |||
There was a problem hiding this comment.
The pull request title and description state that these files are Simplified Chinese translations of the English documentation. However, the newly added JSON files under the cn/ directory (such as cn/.gitbook/assets/Agentic RAG V2.json) are entirely in English and contain no translated Chinese text. Please ensure that the translated versions of these files are committed instead of the original English ones.
Based on the English version, a Simplified Chinese version was generated throughout using GPT-5.5 translation. The image resources have not been replaced.