-
-
Notifications
You must be signed in to change notification settings - Fork 8
New type ILlmController
.
#180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
A new controller type containing not only `ILlmApplication`, but also executor of it.
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request introduces new controller interfaces for managing LLM function calling via MCP, HTTP, and TypeScript, while also updating dependencies to support these enhancements. Key changes include adding IMcpLlmController, ILlmController, and IHttpLlmController interfaces; updating documentation comments and type annotations; and bumping the @samchon/openapi version with new dependency additions.
Reviewed Changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated 3 comments.
Show a summary per file
File | Description |
---|---|
src/structures/IMcpLlmController.ts | Added MCP-based controller interface with improved examples |
src/structures/ILlmSchema.ts | Updated template commentary for clarity in type description |
src/structures/ILlmFunction.ts | Added template parameter documentation |
src/structures/ILlmController.ts | Added TypeScript controller interface with executor details |
src/structures/IHttpLlmController.ts | Added HTTP-based controller interface including connection options |
src/index.ts | Exported new controller interfaces under the CONTROLLERS section |
package.json | Updated version number and added new dependency (@modelcontextprotocol/sdk) |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
A new controller type containing not only
ILlmApplication
, but also executor of it.This pull request introduces several updates, including dependency additions, version updates, and the introduction of new controller interfaces for LLM function calling. These changes enhance the functionality and compatibility of the project while introducing new features for HTTP, MCP, and TypeScript-based controllers.
Dependency Updates and Additions
@samchon/openapi
package version to4.3.0-dev.20250511
inpackage.json
. Added the@modelcontextprotocol/sdk
dependency with version^1.11.1
. [1] [2]pnpm-lock.yaml
, includingeventsource-parser@3.0.1
,eventsource@3.0.7
,express-rate-limit@7.5.0
,pkce-challenge@5.0.0
,zod@3.24.4
, andzod-to-json-schema@3.24.5
. These dependencies support new functionality and integrations. [1] [2] [3] [4]New Controller Interfaces
IHttpLlmController
interface for managing HTTP-based LLM function calling. This includes properties for protocol, application schema, and an optional custom executor function.ILlmController
interface for TypeScript-based LLM function calling, designed for managing class-based executors.IMcpLlmController
interface for MCP-based LLM function calling, integrating with the@modelcontextprotocol/sdk
client.Codebase Enhancements
src/index.ts
file to export the newly introduced controller interfaces (IHttpLlmController
,ILlmController
, andIMcpLlmController
) under a new "CONTROLLERS" section.ILlmFunction.ts
andILlmSchema.ts
, by refining theModel
parameter description. [1] [2]