Commit Graph

11 Commits

Author SHA1 Message Date
Yeuoly b286be778e chore: remove JSON schema validation from tool and agent services (#430)
* chore: remove JSON schema validation from tool and agent services

- Remove bindAgentStrategyValidator and bindToolValidator functions
- Remove gojsonschema dependency
- Simplify InvokeAgentStrategy by removing validation logic
- Consolidate tool invocation into generated code
- Remove redundant tool_service.go and related test files
- Move InvokeTool to generated files for consistency

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: remove duplicated routes

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-08-26 20:36:25 +08:00
Yeuoly 3d28e0ceed feat: Add code generation for plugin controllers and services (#301)
* feat: Add code generation for plugin controllers and services

- Introduced a code generation mechanism for plugin controllers and services, allowing for automatic generation based on defined dispatchers.
- Created new files for generated controllers, services, and templates to streamline the plugin invocation process.
- Removed outdated functions related to tool validation and runtime parameters, consolidating functionality into generated files.
- Updated dependencies in go.mod and go.sum to include necessary packages for the new code generation features.

* fix
2025-05-23 14:57:56 +08:00
Yeuoly 15060ee312 refactor: move entities to pkg 2025-01-06 14:52:02 +08:00
Yeuoly 0ab0fc15fc feat: support fetch installed tools 2024-11-25 23:19:38 +08:00
Yeuoly ee8ac6cf20 fix: add endpoint name 2024-09-30 16:47:46 +08:00
Yeuoly 1fae793cdf feat: support tool get runtime parameters 2024-09-29 18:19:50 +08:00
Yeuoly 37a5b12c86 feat: support fetch tool entity 2024-09-29 17:09:09 +08:00
Yeuoly b92d497ced refactor: using plugin id to dispatch request instead 2024-09-27 21:48:20 +08:00
Yeuoly f179f0f663 feat: add get_tts_model_voices/get_num_tokens/get_model_schema 2024-09-11 18:55:46 +08:00
Yeuoly 73cdc945ee feat: refactor aws 2024-08-25 18:26:03 +08:00
Yeuoly 9e60d83799 feat: controller for get debugging key 2024-07-26 17:31:00 +08:00