Commit Graph

696 Commits

Author SHA1 Message Date
Yeuoly 123fe35f1c bump version to beta51 2024-12-16 23:13:22 +08:00
Yeuoly 29d7ac807f fix: imstreaming response cast error while invoking LLM 2024-12-16 23:12:30 +08:00
Yeuoly 74c8f073c9 feat: add label to agent log 2024-12-15 18:15:01 +08:00
Yeuoly 95dbdb2c4f feat: support hidden 2024-12-13 22:53:50 +08:00
Yeuoly 4ae9b45006 feat: support dify tool selector 2024-12-13 22:49:51 +08:00
Yeuoly 269627916c optimize agent 2024-12-13 15:08:12 +08:00
Yeuoly 55097006c7 feat: release first agent version 2024-12-13 15:05:47 +08:00
Yeuoly ba023e3470 feat: support agent log 2024-12-13 00:07:52 +08:00
Yeuoly c93028221c refactor: support agent 2024-12-12 19:15:00 +08:00
Yeuoly a623638d01 refactor: rename agent to agent strategy 2024-12-12 18:26:34 +08:00
Yeuoly e6b20c91b9 fix: exit smoothly 2024-12-10 00:21:27 +08:00
Yeuoly 15c14aedf8 feat: agent plugin 2024-12-09 22:01:41 +08:00
Yeuoly aaf4f20df3 bump sdk to b49 2024-12-06 19:15:58 +08:00
Yeuoly 9e0f50b230 feat: support TOP_K as default parameter 2024-12-05 20:55:53 +08:00
-LAN- dd77ee95e0 chore: remove unused openai_compatible.py (#5)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-05 17:28:10 +08:00
Yeuoly fe7b246939 chore: bump version to beta48 2024-12-04 16:16:04 +08:00
-LAN- 42980322a0 feat: support convert in the PromptMessage.transform_content
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-04 15:09:37 +08:00
-LAN- c2a56f8c85 feat(entities): Add VideoPromptMessageContent and AudioPromptMessageContent
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-04 13:03:15 +08:00
Yeuoly 2fd16834d0 feat: support mime type and type for File 2024-12-03 16:54:01 +08:00
Yeuoly bc1097dcca chore: bump sdk to b46 2024-12-03 15:50:05 +08:00
Yeuoly 1477f72b70 feat: support mime type and type for File 2024-12-03 15:48:59 +08:00
Yeuoly 6bd2aa721f fix: Sequence to list 2024-12-03 15:30:55 +08:00
Yeuoly 435c0da60e refactor: use absolute paths 2024-12-03 15:19:19 +08:00
-LAN- 99cc3d9d28 chore: remove unused ruff config
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-02 22:58:39 +08:00
-LAN- f4e49cef4f chore: update ruff config
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-02 22:53:08 +08:00
-LAN- 7153cd6a64 chore: add ruff to dependency
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-02 22:45:34 +08:00
-LAN- 102a9cc2ba fix: strip-with-multi-characters
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-02 22:43:08 +08:00
-LAN- 44a9ec53b6 chore: Use removeprefix
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-02 22:23:15 +08:00
-LAN- 71b5791c2c chore: Remove unused variables
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-02 22:20:45 +08:00
-LAN- b4b0c29169 refactor: prevent raise-without-from-inside-except
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-02 22:18:56 +08:00
-LAN- da41fbf0ab refactor: suppressible-exception
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-02 22:13:06 +08:00
-LAN- 061cf9e456 chore: prevent if-else-block-instead-of-if-exp
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-02 22:05:48 +08:00
-LAN- 6358a80025 chore: prevent collapsible-if
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-02 21:59:13 +08:00
-LAN- 7436c3c98c refactor: prevent multiple-with-statements
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-02 21:56:57 +08:00
-LAN- ef7b886db4 refactor: prevent yoda-conditions
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-02 21:55:35 +08:00
-LAN- 105606e34b refactor: Remove un-needed bool
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-02 21:53:23 +08:00
-LAN- 75cec127f4 refactor(tts.py): Use context manager instead of __enter__()
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-02 21:42:14 +08:00
-LAN- c58be38047 fix(plugin_executor): Yield data then return
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-02 21:32:58 +08:00
-LAN- 63d84d6ae3 fix(llm.py): Use clearly variable name.
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-02 21:28:44 +08:00
-LAN- deb1216d01 refactor: Use pathlib instead of open.
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-02 21:27:44 +08:00
-LAN- 4551f79ca3 chore: Fix lines-too-long
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-02 21:27:12 +08:00
-LAN- b3e0612e53 chore: Apply format
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-02 21:18:36 +08:00
-LAN- 37128aeadd chore: Apply unsafe auto-fixes and check manually
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-02 21:17:21 +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
-LAN- 43a1a30415 feat: Add .ruff.toml
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-02 21:10:19 +08:00
-LAN- d5dcb3a2af chore(src): Remove src/
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-02 20:56:31 +08:00
-LAN- e71dbdef59 feat: Introduce PDM
1. Use PDM and `pyproject.toml` instead of the `requirements.txt` under `python/dify_plugin`.
2. Use PDM and `setup-pdm` action instead of setuptools and publish manually.

> You can configure trusted publishers for PyPI so that you don't need to expose the PyPI tokens in the release workflow. To do this, follow [the guide](https://docs.pypi.org/trusted-publishers/adding-a-publisher/) to add a publisher.

Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-02 20:44:06 +08:00
Yeuoly b254616bbb bump sdk to beta44 2024-12-02 16:44:30 +08:00
Yeuoly d38869f0c2 fix: add min summarize_length 2024-12-02 16:30:26 +08:00
Yeuoly d9810cda73 fix: bump sdk to beta43 2024-12-02 16:00:58 +08:00