Commit Graph

36 Commits

Author SHA1 Message Date
Yeuoly 038edf957e feat: generate docs automatically (#121)
- Added CLI for generating documentation with `generate-docs` command.
- Introduced `SchemaDocumentationGenerator` to create structured documentation from schemas.
- Implemented `SchemaDoc` class for schema metadata and documentation management.
- Updated `PluginConfiguration` to include descriptions for plugin components.
- Added support for outside reference fields in the SchemaDocumentationGenerator to improve documentation clarity.
- Updated SchemaDoc to include outside_reference_fields parameter.
- Modified various entity classes to utilize outside_reference_fields for better schema representation.
- Introduced new container type checks and helper methods for handling dynamic fields in documentation generation.
2025-04-30 14:48:03 +08:00
QuantumGhost 5cb24625c3 ci(python): Add CI Pipeline for Python SDK (#72)
* chore(python): temporarily disable `UP007` rule in Ruff

Disable the `UP007` rule temporarily due to numerous existing
violations in the current codebase.

* ci(python): add lint and test for Python SDK

* ci: Add mega-linter

* chore(python): Add final newline to markdown files

* fix(python): Fix linter issues by using ruff's auto fix

* fix(python): Fix TRY400 linter violations

Ruff suggests using `logger.exception` to log when
logging an exception, instead of using `logging.error`.

The former logs the exception and the traceback
automatically.

ref: https://docs.astral.sh/ruff/rules/error-instead-of-exception/

* fix(python): fix ruff linter violations

* test(python): Add Test cases for LLM entities

Test the initialization of `LLMResult` and `LLMResultChunk`.

* test(python): Add test for `AgentModelConfig`

Ensures that the `history_prompt_messages` attribute is
not shared between instances of `AgentModelConfig`.

* chore(python): output diffs in Ruff's format check

* style(python): format code with Ruff

* chore(python): Add a bash script for fix and format python code

* chore: add `persist-credentials: false` to checkout action

Enhances security by preventing subsequent
steps from accessing GitHub credentials, reducing
potential attack surfaces.

Ref: https://github.com/actions/checkout#checkout-v4
2025-04-14 20:25:19 +08:00
Yeuoly 1477f72b70 feat: support mime type and type for File 2024-12-03 15:48:59 +08:00
Yeuoly 435c0da60e refactor: use absolute paths 2024-12-03 15:19:19 +08:00
-LAN- b3e0612e53 chore: Apply format
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-02 21:18:36 +08:00
-LAN- 5858fe715e chore: Apply formet and auto fix
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-02 21:10:36 +08:00
Yeuoly ad6ca50b38 feat: summarize, fix: missing files 2024-12-02 16:00:34 +08:00
Yeuoly 01b46e76ba cleanup 2024-11-29 16:13:23 +08:00
Yeuoly c49b84824c feat: support upload files 2024-11-14 18:36:03 +08:00
Yeuoly e9dc47c683 fix: missing sdk dependencies like pydub 2024-10-31 15:37:50 +08:00
Yeuoly 8e93e782b1 feat: add description 2024-10-16 20:05:46 +08:00
Yeuoly db855a81e8 chore: rename authors 2024-10-10 18:11:50 +08:00
Yeuoly 64856a75a9 add modes 2024-09-26 17:41:41 +08:00
Yeuoly 98d3877890 tests: add demos 2024-09-26 16:15:50 +08:00
Yeuoly bd8300d8dd feat: backwards invoke to workflows nodes 2024-09-24 20:16:53 +08:00
Yeuoly c475235aee fix: pattern 2024-09-14 17:45:39 +08:00
Yeuoly a152c857e6 refactor: manifest 2024-09-13 15:19:39 +08:00
Yeuoly 8d7cc02a19 refactor: manifest structure 2024-09-13 15:10:04 +08:00
Yeuoly d8dd877c14 refactor: invoke_from_executor -> invoke, invoke -> _invoke 2024-09-12 23:36:44 +08:00
takatost 022e8a16ca chore: optimize interface methods 2024-09-11 16:46:17 +08:00
Yeuoly 69fe86e029 release: beta 2024-09-11 16:19:46 +08:00
Yeuoly 70db8bcb8e refactor 2024-09-11 15:12:37 +08:00
Yeuoly 07d045db59 Merge 2024-09-04 19:54:29 +08:00
takatost f611636766 remove unused files 2024-09-04 19:51:15 +08:00
Yeuoly 98ce6231a5 feat: assets 2024-09-04 18:26:54 +08:00
Yeuoly b20176d20b refactor: add requirements.txt 2024-09-04 16:02:23 +08:00
Yeuoly f8ceb02a56 fix: remove execution 2024-09-04 15:59:24 +08:00
takatost 26d3b944b3 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	python/dify_plugin/core/runtime/abstract/request.py
#	python/dify_plugin/core/runtime/request.py
#	python/dify_plugin/plugin.py
2024-08-30 03:31:24 +08:00
takatost a6d55f604d refactor: move runtime request into separate modules 2024-08-30 03:28:09 +08:00
Yeuoly 3d3e6fbd9b feat: support persistence storage 2024-08-29 01:27:10 +08:00
Yeuoly 2ff7635ae6 refactor: plugin stream reader 2024-08-26 10:33:19 +08:00
Yeuoly a6be9c74c7 feat: support webhook 2024-08-06 17:58:10 +08:00
Yeuoly 84946ec0fe feat: backwards invoke llm 2024-07-29 22:07:46 +08:00
Yeuoly a9b95eed6d feat: backwards invocation 2024-07-24 18:38:30 +08:00
Yeuoly f565e1354f feat: code based workflow 2024-07-24 00:42:35 +08:00
Yeuoly 6f59e2401a feat: support backwards invocation 2024-07-23 22:56:14 +08:00