Skip to content

fix: lodash package rename - #9

Merged
iamjoel merged 1 commit into
mainfrom
fix/lodash-package-rename
May 15, 2023
Merged

iamjoel merged 1 commit into
mainfrom
fix/lodash-package-rename

Conversation

@iamjoel

@iamjoel iamjoel commented May 15, 2023

Copy link
Copy Markdown
Contributor

No description provided.

@iamjoel
iamjoel merged commit 19eaf27 into main May 15, 2023
@iamjoel
iamjoel deleted the fix/lodash-package-rename branch May 15, 2023 05:40
wallowbear pushed a commit to wallowbear/dify that referenced this pull request Jun 9, 2025
…rn/typescript-eslint-8.26.0

chore(deps-dev): bump typescript-eslint from 8.16.0 to 8.26.0
liyuu127 pushed a commit to liyuu127/dify that referenced this pull request Jul 12, 2025
fix:修改环境变量地址

* feature-jinhua-1.4.1: (1 commits)
  fix:修改环境变量地址

Signed-off-by: wangjinhua_1 <1416698924@qq.com>
Reviewed-by: wangjinhua_1 <1416698924@qq.com>
Merged-by: wangjinhua_1 <1416698924@qq.com>

CR-link: https://codeup.aliyun.com/5edf576bd1d1abe63b55fab7/ai-agent/dify/change/9
miaomiao46 pushed a commit to miaomiao46/dify that referenced this pull request Sep 9, 2026
修复retry时的bug; 限制外置切分并发为1
MindOfqc added a commit to MindOfqc/dify that referenced this pull request Nov 16, 2026
…passes

Address the nine unresolved review comments on PR langgenius#46458 by making the real
product types hold in tests rather than bypassing the type checker with
cast / Mock(spec=) / object / Any / **kwargs.

list_operator node_spec (langgenius#1 type-origin-code, langgenius#2 parse-don't-validate):
- _build_node now accepts only the validated ListOperatorNodeData; drop the
  Mapping[str, object] branch and the internal re-validation.
- _filter_by returns the real graphon FilterBy/FilterCondition models and
  takes a FilterOperator enum, so fixtures are built from origin-code types
  instead of ad hoc dict[str, object].

workflow mock_nodes (langgenius#3, langgenius#4 parse-don't-validate):
- MockNodeMixin.__init__ takes data: BaseNodeData and forwards to the real
  Node.__init__ contract through a typed callable instead of packing an
  ad hoc init_kwargs: dict[str, Any].
- MockParameterExtractorNode mirrors the real node output contract: extracted
  values are flat top-level outputs and process_data no longer re-extracts a
  nested "parameters" copy via dict.get.
- Remove the duplicated @OverRide decorators introduced on several _run methods.

base_app_generator (langgenius#5, langgenius#6 precise-type):
- _prepare_file_inputs returns File | list[File] | None and _as_file /
  _as_file_list accept that precise union instead of object.

advanced_prompt_transform (langgenius#7, langgenius#8 import-real-class, langgenius#9 no-kwargs):
- Delete _StubbedBranchesTransform; the dispatch test now exercises the real
  AdvancedPromptTransform and asserts real completion/chat output.
- The malformed-template case asserts the pydantic boundary rejects the
  payload (parse-don't-validate) instead of casting untyped data past the
  checker into get_prompt's defensive guard.
- The history fakes spell out max_token_limit / message_limit with types
  matching TokenBufferMemory.get_history_prompt_messages instead of **kwargs.

Allow ARG001 for the advanced_prompt_transform test fakes that intentionally
ignore message_limit while mirroring the real signature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants