[PR #1134] [CLOSED] Feat: Add Function call support #1566

Closed
opened 2026-10-29 14:53:32 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/kvcache-ai/ktransformers/pull/1134
Author: @Creeper-MZ
Created: 4/13/2025
Status: ❌ Closed

Base: main ← Head: main


📝 Commits (10+)

📊 Changes

4 files changed (+554 additions, -89 deletions)

View changed files

📝 ktransformers/server/api/openai/endpoints/chat.py (+392 -65)
📝 ktransformers/server/backend/interfaces/ktransformers.py (+3 -2)
📝 ktransformers/server/backend/interfaces/transformers.py (+115 -10)
📝 ktransformers/server/schemas/endpoints/chat.py (+44 -12)

📄 Description

尝试为ktransformers修复了function call,可以执行多次函数调用,单次回复中调用多次函数的功能。


🔄 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/kvcache-ai/ktransformers/pull/1134 **Author:** [@Creeper-MZ](https://github.com/Creeper-MZ) **Created:** 4/13/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (10+) - [`9ff1cbf`](https://github.com/kvcache-ai/ktransformers/commit/9ff1cbffc5c317b0b7c7c578633ad5f1c0476abd) add function call - [`19e0e29`](https://github.com/kvcache-ai/ktransformers/commit/19e0e295d488c0b6d56bcc62ec96204d50b66b12) Update ktransformers.py - [`f31b284`](https://github.com/kvcache-ai/ktransformers/commit/f31b2840090c5f76a6e3a07b322f381261c75212) Update chat.py - [`d050d47`](https://github.com/kvcache-ai/ktransformers/commit/d050d476e52cef0d3602333ceb912dc8cc45669b) some fix - [`3198a3a`](https://github.com/kvcache-ai/ktransformers/commit/3198a3a9baaf22b37c77445f82d82af3f08ec38f) Update chat.py - [`883e116`](https://github.com/kvcache-ai/ktransformers/commit/883e116ed1865c24c459fc1bae25d3f296d6faa0) Update chat.py - [`b8e9432`](https://github.com/kvcache-ai/ktransformers/commit/b8e9432c9f18ca16262487124f22bd751c838897) Update chat.py - [`112837d`](https://github.com/kvcache-ai/ktransformers/commit/112837dd707d210a02d1b37995f5b4ccc13bebad) Update chat.py - [`f4dded1`](https://github.com/kvcache-ai/ktransformers/commit/f4dded11061c277eb7f309dd59a2b017536a5f01) Update chat.py - [`6d0f3bc`](https://github.com/kvcache-ai/ktransformers/commit/6d0f3bcf2b86f1cf2657754fb8a5f1321fe40974) Update chat.py ### 📊 Changes **4 files changed** (+554 additions, -89 deletions) <details> <summary>View changed files</summary> 📝 `ktransformers/server/api/openai/endpoints/chat.py` (+392 -65) 📝 `ktransformers/server/backend/interfaces/ktransformers.py` (+3 -2) 📝 `ktransformers/server/backend/interfaces/transformers.py` (+115 -10) 📝 `ktransformers/server/schemas/endpoints/chat.py` (+44 -12) </details> ### 📄 Description 尝试为ktransformers修复了function call,可以执行多次函数调用,单次回复中调用多次函数的功能。 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-29 14:53:32 +00:00
Sign in to join this conversation.
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
kvcache-ai/ktransformers#1566
No description provided.