feat: LLM SSE MCP support #19
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This pull request includes several changes to the
blockless-sdkproject, focusing on the addition of a new example, updates to theSupportedModelsenum, and enhancements to theLlmOptionsstruct.Below is a summary of the most important changes:
New Example Addition:
llm-mcpdemonstrating the use of the Blockless SDK to interact with LLM models and use MCP for tool integration via SSE endpoints (README.md,examples/llm-mcp.rs). [1] [2]Enhancements to
SupportedModelsEnum:Customvariant to theSupportedModelsenum to support custom models (src/llm.rs). [1] [2] [3]Enhancements to
LlmOptionsStruct:LlmOptionsstruct to includetools_sse_urlsand updated methods to handle optional fields (src/llm.rs). [1] [2]set_optionsmethod calls inexamples/llm.rsto use the newwith_system_messagemethod (examples/llm.rs). [1] [2]Version Update:
0.1.8to0.1.9inCargo.tomlto reflect the new changes (Cargo.toml).