You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
refactor(api): Separate SegmentType for Integer/Float to Enable Pydantic Serialization (#22025) This PR addresses serialization issues in the VariablePool model by separating the `value_type` tags for `IntegerSegment`/`FloatSegment` and `IntegerVariable`/`FloatVariable`. Previously, both Integer and Float types shared the same `SegmentType.NUMBER` tag, causing conflicts during serialization. Key changes: - Introduce distinct `value_type` tags for Integer and Float segments/variables - Add `VariableUnion` and `SegmentUnion` types for proper type discrimination - Leverage Pydantic's discriminated union feature for seamless serialization/deserialization - Enable accurate serialization of data structures containing these types Closes #22024. |
7 months ago | |
|---|---|---|
| .. | ||
| auth | 10 months ago | |
| enterprise | 7 months ago | |
| entities | 7 months ago | |
| errors | 8 months ago | |
| plugin | 7 months ago | |
| recommend_app | 1 year ago | |
| tools | 7 months ago | |
| workflow | 1 year ago | |
| __init__.py | 1 year ago | |
| account_service.py | 7 months ago | |
| advanced_prompt_template_service.py | 1 year ago | |
| agent_service.py | 9 months ago | |
| annotation_service.py | 9 months ago | |
| api_based_extension_service.py | 1 year ago | |
| app_dsl_service.py | 8 months ago | |
| app_generate_service.py | 11 months ago | |
| app_model_config_service.py | 1 year ago | |
| app_service.py | 7 months ago | |
| audio_service.py | 7 months ago | |
| billing_service.py | 10 months ago | |
| clear_free_plan_tenant_expired_logs.py | 7 months ago | |
| code_based_extension_service.py | 1 year ago | |
| conversation_service.py | 10 months ago | |
| dataset_service.py | 7 months ago | |
| external_knowledge_service.py | 9 months ago | |
| feature_service.py | 8 months ago | |
| file_service.py | 7 months ago | |
| hit_testing_service.py | 8 months ago | |
| knowledge_service.py | 1 year ago | |
| message_service.py | 9 months ago | |
| metadata_service.py | 7 months ago | |
| model_load_balancing_service.py | 12 months ago | |
| model_provider_service.py | 12 months ago | |
| operation_service.py | 1 year ago | |
| ops_service.py | 7 months ago | |
| recommended_app_service.py | 1 year ago | |
| saved_message_service.py | 1 year ago | |
| tag_service.py | 8 months ago | |
| vector_service.py | 7 months ago | |
| web_conversation_service.py | 1 year ago | |
| webapp_auth_service.py | 8 months ago | |
| website_service.py | 8 months ago | |
| workflow_app_service.py | 8 months ago | |
| workflow_draft_variable_service.py | 7 months ago | |
| workflow_run_service.py | 7 months ago | |
| workflow_service.py | 7 months ago | |
| workspace_service.py | 9 months ago | |