[PR #259] [MERGED] refactor(claude-orchids): 重构提示词模板并添加模型映射机制 #325

Closed
opened 2026-02-27 07:18:58 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/justlovemaki/AIClient-2-API/pull/259
Author: @leonaii
Created: 1/16/2026
Status: Merged
Merged: 1/16/2026
Merged by: @justlovemaki

Base: mainHead: main


📝 Commits (1)

  • 721bd6e refactor(claude-orchids): 重构提示词模板并添加模型映射机制

📊 Changes

2 files changed (+33 additions, -25 deletions)

View changed files

📝 src/providers/claude/claude-orchids.js (+33 -24)
📝 src/providers/provider-models.js (+0 -1)

📄 Description

  1. 重写系统提示词模板,采用更清晰的XML结构
  2. 移除冗余的规则声明,简化提示词内容
  3. 添加模型名称映射逻辑,将不支持的模型转换为支持的模型
  4. 新增 claude-opus-4-5 的支持。

🔄 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/justlovemaki/AIClient-2-API/pull/259 **Author:** [@leonaii](https://github.com/leonaii) **Created:** 1/16/2026 **Status:** ✅ Merged **Merged:** 1/16/2026 **Merged by:** [@justlovemaki](https://github.com/justlovemaki) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`721bd6e`](https://github.com/justlovemaki/AIClient-2-API/commit/721bd6e6458bf5bc2418898509d647fe28f830a0) refactor(claude-orchids): 重构提示词模板并添加模型映射机制 ### 📊 Changes **2 files changed** (+33 additions, -25 deletions) <details> <summary>View changed files</summary> 📝 `src/providers/claude/claude-orchids.js` (+33 -24) 📝 `src/providers/provider-models.js` (+0 -1) </details> ### 📄 Description 1. 重写系统提示词模板,采用更清晰的XML结构 2. 移除冗余的规则声明,简化提示词内容 3. 添加模型名称映射逻辑,将不支持的模型转换为支持的模型 4. 新增 claude-opus-4-5 的支持。 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 07:18:58 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/AIClient-2-API-justlovemaki#325
No description provided.