[PR #2113] [MERGED] fix(vertex_ai): Fix YAML syntax error in gemini-3-pro-preview #2269

Closed
opened 2026-02-16 11:16:32 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-official-plugins/pull/2113
Author: @kaixintang95
Created: 11/21/2025
Status: Merged
Merged: 11/21/2025
Merged by: @crazywoola

Base: mainHead: feat/add-gemini-3-pro-preview


📝 Commits (1)

  • 27deb4f fix(vertex_ai): Fix YAML syntax error in gemini-3-pro-preview

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 models/vertex_ai/models/llm/gemini-3-pro-preview.yaml (+2 -2)

📄 Description

Summary

Fix YAML syntax error in gemini-3-pro-preview.yaml that causes parsing failures.

Problem

The merged version in PR #2111 contains a YAML syntax error on line 60:

Note: This parameter is only for Gemini 3...

The colon : after "Note" is interpreted by YAML parser as a key-value separator, causing:

yaml.scanner.ScannerError: mapping values are not allowed here
  in "gemini-3-pro-preview.yaml", line 60, column 156

Solution

Remove colons from help text:

  • 注意:注意 (Chinese)
  • Note:Note (English)

Changes

Modified: models/vertex_ai/models/llm/gemini-3-pro-preview.yaml

  • Line 59: Remove colon from Chinese help text
  • Line 60: Remove colon from English help text

Testing

Local YAML parsing validation passed:

python3 -c "import yaml; yaml.safe_load(open('models/llm/gemini-3-pro-preview.yaml'))"
✅ YAML 语法正确

Plugin loading test passed

References

  • Original PR: #2111 (merged with syntax error)
  • Error location: Line 60, column 156
  • Related: thinking_level parameter help text

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-official-plugins/pull/2113 **Author:** [@kaixintang95](https://github.com/kaixintang95) **Created:** 11/21/2025 **Status:** ✅ Merged **Merged:** 11/21/2025 **Merged by:** [@crazywoola](https://github.com/crazywoola) **Base:** `main` ← **Head:** `feat/add-gemini-3-pro-preview` --- ### 📝 Commits (1) - [`27deb4f`](https://github.com/langgenius/dify-official-plugins/commit/27deb4f84d4dfad432c3555fc740590e6d99c6be) fix(vertex_ai): Fix YAML syntax error in gemini-3-pro-preview ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `models/vertex_ai/models/llm/gemini-3-pro-preview.yaml` (+2 -2) </details> ### 📄 Description ## Summary Fix YAML syntax error in `gemini-3-pro-preview.yaml` that causes parsing failures. ### Problem The merged version in PR #2111 contains a YAML syntax error on line 60: ``` Note: This parameter is only for Gemini 3... ``` The colon `:` after "Note" is interpreted by YAML parser as a key-value separator, causing: ``` yaml.scanner.ScannerError: mapping values are not allowed here in "gemini-3-pro-preview.yaml", line 60, column 156 ``` ### Solution Remove colons from help text: - `注意:` → `注意` (Chinese) - `Note:` → `Note` (English) ### Changes **Modified**: `models/vertex_ai/models/llm/gemini-3-pro-preview.yaml` - Line 59: Remove colon from Chinese help text - Line 60: Remove colon from English help text ### Testing ✅ Local YAML parsing validation passed: ```bash python3 -c "import yaml; yaml.safe_load(open('models/llm/gemini-3-pro-preview.yaml'))" ✅ YAML 语法正确 ``` ✅ Plugin loading test passed ### References - Original PR: #2111 (merged with syntax error) - Error location: Line 60, column 156 - Related: thinking_level parameter help text 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 11:16:32 -05:00
yindo closed this issue 2026-02-16 11:16:32 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#2269