Commit Graph

197 Commits

Author SHA1 Message Date
Novice Lee 9db1efdb92 feat: support workflow tools 2025-01-22 13:41:07 +08:00
Novice Lee fb24978387 feat: add agent node log 2025-01-09 08:51:43 +08:00
Novice 43e58b93e7 Merge pull request #7 from langgenius/feat/agent-node
feat: add agent strategy support
2025-01-08 07:50:49 +08:00
Novice Lee 92558f5c07 feat: add agent strategy support 2025-01-08 07:48:27 +08:00
Yeuoly 91f1f343e0 fix: add modified credentials to returns 2025-01-07 18:44:07 +08:00
Yeuoly 6f4d22e860 fix: add input_type 2025-01-03 18:07:40 +08:00
Yeuoly 92cf93cdae fix some bugs 2025-01-03 17:30:02 +08:00
Yeuoly fa458ab0d9 fix: get attribute dose not exists in BlobMessage 2025-01-03 14:47:49 +08:00
Yeuoly 5b3cca4a48 feat: add gevent patchs to get_num_tokens_by_gpt2 2024-12-31 14:58:44 +08:00
Yeuoly bc4e9a05aa fix: variable message 2024-12-27 22:57:38 +08:00
Yeuoly 3e7565f075 feat: support percision to agent strategy parameter 2024-12-27 18:03:58 +08:00
Yeuoly 82438a99a2 feat: support parameter auto generate 2024-12-26 17:28:42 +08:00
Yeuoly 463f97a2e0 fix: incorrect response from toolLike.invoke 2024-12-25 15:43:12 +08:00
Yeuoly d450c94888 fix: using absolute importing 2024-12-17 18:24:31 +08:00
Yeuoly f408642b27 fix: missing output schema 2024-12-17 18:14:40 +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 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
-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 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- 102a9cc2ba fix: strip-with-multi-characters
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-02 22:43:08 +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- 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- 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