-
Couldn't load subscription status.
- Fork 38
Update documentation and fix MCP plugin #58
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
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
42ab7f8
MCP Resources
h3xxit 51fe2da
update minimum python version
h3xxit 75e3a22
Update test.yml
h3xxit 2b51248
core[dev] install fix
AndreiGS 1dc0a0f
Fix plugin logs not showing and mcp register tools
AndreiGS 5c145a3
Add tool name
AndreiGS 133c187
Performance optimisation
AndreiGS a27941e
Update plugins/communication_protocols/http/src/utcp_http/http_commun…
h3xxit 68b06be
Update plugins/communication_protocols/http/src/utcp_http/sse_communi…
h3xxit 33785d0
Update plugins/communication_protocols/gql/src/utcp_gql/gql_communica…
h3xxit 677ec11
Update plugins/communication_protocols/mcp/src/utcp_mcp/mcp_communica…
h3xxit 0887a00
Update plugins/communication_protocols/cli/src/utcp_cli/cli_communica…
h3xxit 26ba8c3
Update plugins/communication_protocols/text/src/utcp_text/text_commun…
h3xxit e4627ab
Merge pull request #56 from universal-tool-calling-protocol/docs/readme
h3xxit c685a6e
Revert mcp specific config
AndreiGS 7c8f0d2
Add server name to mcp tool
AndreiGS c23b594
Fix mcp tests
AndreiGS 1320bf5
Replace handlers with hasHandlers()
AndreiGS fe3aad0
Merge pull request #57 from universal-tool-calling-protocol/hotfix/mc…
h3xxit 8a0a449
Enhance documentation: Move docs to class docstrings and improve READ…
perrozzi aa6f7e3
Copy Readme to core
h3xxit d8464a0
default logging via basicConfig
h3xxit 666eb1e
Update minor versions of all projects
h3xxit File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,7 @@ | ||
| import logging | ||
| import sys | ||
|
|
||
| logger = logging.getLogger("utcp") | ||
|
|
||
| if not logger.handlers: # Only add default handler if user didn't configure logging | ||
| handler = logging.StreamHandler(sys.stderr) | ||
| handler.setFormatter(logging.Formatter("%(asctime)s [%(levelname)s] %(filename)s:%(lineno)d - %(message)s")) | ||
| logger.addHandler(handler) | ||
| logger.setLevel(logging.INFO) | ||
| logging.basicConfig( | ||
| level=logging.INFO, | ||
| format="%(asctime)s [%(levelname)s] %(filename)s:%(lineno)d - %(message)s" | ||
| ) |
11 changes: 10 additions & 1 deletion
11
core/src/utcp/exceptions/utcp_serializer_validation_error.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,12 @@ | ||
| class UtcpSerializerValidationError(Exception): | ||
| """REQUIRED | ||
| Exception raised when a serializer validation fails.""" | ||
| Exception raised when a serializer validation fails. | ||
|
|
||
| Thrown by serializers when they cannot validate or convert data structures | ||
| due to invalid format, missing required fields, or type mismatches. | ||
| Contains the original validation error details for debugging. | ||
|
|
||
| Usage: | ||
| Typically caught when loading configuration files or processing | ||
| external data that doesn't conform to UTCP specifications. | ||
| """ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.