llm api return wrong #12737

Closed
opened 2026-02-21 19:08:47 -05:00 by yindo · 6 comments
Owner

Originally created by @fuweibin on GitHub (Apr 10, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.1.3

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

LLM ali model qwen-turbo-latest

  • Role: 日期计算专家
  • Background: 用户需要从问题描述中提取日期范围,且对日期的范围和格式有明确的要求,这表明用户可能需要进行时间管理、计划安排或数据处理等任务,需要精确的日期信息作为基础。
  • Profile: 你是一位擅长处理日期计算和时间管理的专家,能够精准地从各种描述中提取日期信息,并按照要求进行格式化输出。
  • Skills: 你具备强大的日期计算能力,熟悉日期格式和时间范围的界定规则,能够快速准确地处理日期相关问题。
  • Goals: 从问题描述中提取出准确的日期范围,并按照指定的格式输出。
  • Constrains: 必须严格按照用户要求的日期格式和范围定义进行输出,不能进行额外的解析说明。
  • OutputFormat: startTime=开始日期;endTime=结束日期;
  • Workflow:
    1. 仔细阅读问题描述,识别其中的日期信息。
    2. 根据问题描述确定日期范围的开始和结束日期。
    3. 按照指定格式输出日期范围。
      4.日期格式:年-月-日

【注意事项】
1、如果问题是“日报汇总",则答案是昨天;如果问题是"周报汇总",则答案是上周
2、周一视为一周的开始,周日视为一周的结束
3、注意时间格式,月、日需要补0
4、注意切词,上周二 != 上周

【思考过程】
1、问题描述的时间范围是具体一天还是一段范围

【基础数据/当前状态信息】
1、今天是2025年4月9日,周三

query:上周二

✔️ Expected Behavior

startTime=2025-04-01;endTime=2025-04-01;

i use the apifox to request ali llm api ,i return right

Actual Behavior

startTime=205-04-01;endTime=2025-04-01;

Originally created by @fuweibin on GitHub (Apr 10, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.1.3 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce LLM ali model qwen-turbo-latest - Role: 日期计算专家 - Background: 用户需要从问题描述中提取日期范围,且对日期的范围和格式有明确的要求,这表明用户可能需要进行时间管理、计划安排或数据处理等任务,需要精确的日期信息作为基础。 - Profile: 你是一位擅长处理日期计算和时间管理的专家,能够精准地从各种描述中提取日期信息,并按照要求进行格式化输出。 - Skills: 你具备强大的日期计算能力,熟悉日期格式和时间范围的界定规则,能够快速准确地处理日期相关问题。 - Goals: 从问题描述中提取出准确的日期范围,并按照指定的格式输出。 - Constrains: 必须严格按照用户要求的日期格式和范围定义进行输出,不能进行额外的解析说明。 - OutputFormat: startTime=开始日期;endTime=结束日期; - Workflow: 1. 仔细阅读问题描述,识别其中的日期信息。 2. 根据问题描述确定日期范围的开始和结束日期。 3. 按照指定格式输出日期范围。 4.日期格式:年-月-日 【注意事项】 1、如果问题是“日报汇总",则答案是昨天;如果问题是"周报汇总",则答案是上周 2、周一视为一周的开始,周日视为一周的结束 3、注意时间格式,月、日需要补0 4、注意切词,上周二 != 上周 【思考过程】 1、问题描述的时间范围是具体一天还是一段范围 【基础数据/当前状态信息】 1、今天是2025年4月9日,周三 query:上周二 ### ✔️ Expected Behavior startTime=2025-04-01;endTime=2025-04-01; i use the apifox to request ali llm api ,i return right ### ❌ Actual Behavior startTime=205-04-01;endTime=2025-04-01;
yindo added the 🐞 bug label 2026-02-21 19:08:47 -05:00
yindo closed this issue 2026-02-21 19:08:47 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Apr 10, 2025):

你好 @fuweibin!我是一个可以帮助你解决bug、回答问题并成为贡献者的机器人。很高兴在这里为你提供支持,等待人类维护者的回复。请告诉我我能帮你什么!

The issue you're encountering seems to be related to the incorrect formatting of the year in the startTime output, where it is displayed as 205 instead of 2025. This could be due to a parsing or formatting error in the logic handling the date extraction and formatting.

To address this, you might want to check the following:

  1. Date Parsing Logic: Ensure that the logic responsible for extracting and formatting the date is correctly handling the year component. It should be extracting the full year (e.g., 2025) rather than truncating it.

  2. Output Formatting: Verify that the output formatting function is correctly padding the year to four digits. This might involve checking the strftime format string or any custom formatting logic used.

  3. Test with Different Inputs: Try testing with different date-related queries to see if the issue persists across other inputs or if it's specific to certain cases.

If the issue is within the Dify platform's handling of the qwen-turbo-latest model, you might need to look into the specific implementation details or configuration settings related to date formatting. Unfortunately, I couldn't find specific information on this in the available data, so reviewing the relevant code or configuration files might be necessary.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@dosubot[bot] commented on GitHub (Apr 10, 2025): <!-- Greeting --> 你好 @fuweibin!我是一个可以帮助你解决bug、回答问题并成为贡献者的机器人。很高兴在这里为你提供支持,等待人类维护者的回复。请告诉我我能帮你什么! <!-- Answer --> The issue you're encountering seems to be related to the incorrect formatting of the year in the `startTime` output, where it is displayed as `205` instead of `2025`. This could be due to a parsing or formatting error in the logic handling the date extraction and formatting. To address this, you might want to check the following: 1. **Date Parsing Logic**: Ensure that the logic responsible for extracting and formatting the date is correctly handling the year component. It should be extracting the full year (e.g., `2025`) rather than truncating it. 2. **Output Formatting**: Verify that the output formatting function is correctly padding the year to four digits. This might involve checking the `strftime` format string or any custom formatting logic used. 3. **Test with Different Inputs**: Try testing with different date-related queries to see if the issue persists across other inputs or if it's specific to certain cases. If the issue is within the Dify platform's handling of the `qwen-turbo-latest` model, you might need to look into the specific implementation details or configuration settings related to date formatting. Unfortunately, I couldn't find specific information on this in the available data, so reviewing the relevant code or configuration files might be necessary. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/14fc50a9-e350-4b26-b10f-b37da787dd39?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/14fc50a9-e350-4b26-b10f-b37da787dd39?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/14fc50a9-e350-4b26-b10f-b37da787dd39?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/14fc50a9-e350-4b26-b10f-b37da787dd39?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/14fc50a9-e350-4b26-b10f-b37da787dd39?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/14fc50a9-e350-4b26-b10f-b37da787dd39?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/14fc50a9-e350-4b26-b10f-b37da787dd39?feedback_type=other)</sup>
Author
Owner

@fuweibin commented on GitHub (Apr 10, 2025):

but the end_time is always right, i use the same prompt and input , use apifox or curl to test , it return right

@fuweibin commented on GitHub (Apr 10, 2025): but the end_time is always right, i use the same prompt and input , use apifox or curl to test , it return right
Author
Owner

@fuweibin commented on GitHub (Apr 10, 2025):

but i did not use the source to debug in my windows pc to check , if the response is wrong or the handle process make the content wrong

@fuweibin commented on GitHub (Apr 10, 2025): but i did not use the source to debug in my windows pc to check , if the response is wrong or the handle process make the content wrong
Author
Owner

@crazywoola commented on GitHub (Apr 10, 2025):

✔️ Expected Behavior
startTime=2025-04-01;endTime=2025-04-01;

i use the apifox to request ali llm api ,i return right

Actual Behavior
startTime=205-04-01;endTime=2025-04-01;

From above, I can not tell what's the difference? Please provide more details.

@crazywoola commented on GitHub (Apr 10, 2025): ✔️ Expected Behavior startTime=2025-04-01;endTime=2025-04-01; i use the apifox to request ali llm api ,i return right ❌ Actual Behavior startTime=205-04-01;endTime=2025-04-01; From above, I can not tell what's the difference? Please provide more details.
Author
Owner

@fuweibin commented on GitHub (Apr 10, 2025):

the startTime always return 205 not 2025,i try other ali qwen model ,the same result , startTime=205-xx-xx ,lose the "2", but the endTime always return right 2025-xx-xx

@fuweibin commented on GitHub (Apr 10, 2025): the startTime always return 205 not 2025,i try other ali qwen model ,the same result , startTime=205-xx-xx ,lose the "2", but the endTime always return right 2025-xx-xx
Author
Owner

@chenyaojie commented on GitHub (May 19, 2025):

I encountered the same problem and can reproduce the error using the following DSL.

app:
  description: ''
  icon: 🤖
  icon_background: '#FFEAD5'
  mode: advanced-chat
  name: Error Date
  use_icon_as_answer_icon: false
dependencies:
- current_identifier: null
  type: marketplace
  value:
    marketplace_plugin_unique_identifier: langgenius/tongyi:0.0.25@325423749d5e71f8b4681af1b2ed46d7686cb1947e443a86ba5d14ac45ff85a4
kind: app
version: 0.2.0
workflow:
  conversation_variables: []
  environment_variables: []
  features:
    file_upload:
      allowed_file_extensions:
      - .JPG
      - .JPEG
      - .PNG
      - .GIF
      - .WEBP
      - .SVG
      allowed_file_types:
      - image
      allowed_file_upload_methods:
      - local_file
      - remote_url
      enabled: false
      fileUploadConfig:
        audio_file_size_limit: 50
        batch_count_limit: 5
        file_size_limit: 200
        image_file_size_limit: 10
        video_file_size_limit: 100
        workflow_file_upload_limit: 10
      image:
        enabled: false
        number_limits: 3
        transfer_methods:
        - local_file
        - remote_url
      number_limits: 3
    opening_statement: ''
    retriever_resource:
      enabled: true
    sensitive_word_avoidance:
      enabled: false
    speech_to_text:
      enabled: false
    suggested_questions: []
    suggested_questions_after_answer:
      enabled: false
    text_to_speech:
      enabled: false
      language: ''
      voice: ''
  graph:
    edges:
    - data:
        sourceType: llm
        targetType: answer
      id: llm-answer
      source: llm
      sourceHandle: source
      target: answer
      targetHandle: target
      type: custom
    - data:
        isInIteration: false
        isInLoop: false
        sourceType: start
        targetType: tool
      id: 1747711473150-source-1747711482602-target
      source: '1747711473150'
      sourceHandle: source
      target: '1747711482602'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInLoop: false
        sourceType: tool
        targetType: llm
      id: 1747711482602-source-llm-target
      source: '1747711482602'
      sourceHandle: source
      target: llm
      targetHandle: target
      type: custom
      zIndex: 0
    nodes:
    - data:
        desc: ''
        selected: false
        title: 开始
        type: start
        variables: []
      height: 53
      id: '1747711473150'
      position:
        x: 30
        y: 257.5
      positionAbsolute:
        x: 30
        y: 257.5
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 244
    - data:
        context:
          enabled: false
          variable_selector: []
        desc: ''
        memory:
          query_prompt_template: '{{#sys.query#}}'
          role_prefix:
            assistant: ''
            user: ''
          window:
            enabled: false
            size: 50
        model:
          completion_params: {}
          mode: chat
          name: qwen-plus-latest
          provider: langgenius/tongyi/tongyi
        prompt_template:
        - id: 3af45eea-1954-47ef-b6e6-ad807ea3654d
          role: system
          text: 'Current Time: {{#1747711482602.text#}}'
        selected: false
        title: LLM
        type: llm
        variables: []
        vision:
          enabled: false
      height: 89
      id: llm
      position:
        x: 638
        y: 257.5
      positionAbsolute:
        x: 638
        y: 257.5
      selected: true
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 244
    - data:
        answer: '{{#llm.text#}}'
        desc: ''
        selected: false
        title: 直接回复
        type: answer
        variables: []
      height: 103
      id: answer
      position:
        x: 942
        y: 257.5
      positionAbsolute:
        x: 942
        y: 257.5
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 244
    - data:
        desc: ''
        is_team_authorization: true
        output_schema: null
        paramSchemas:
        - auto_generate: null
          default: '%Y-%m-%d %H:%M:%S'
          form: form
          human_description:
            en_US: Time format in strftime standard.
            ja_JP: Time format in strftime standard.
            pt_BR: Time format in strftime standard.
            zh_Hans: strftime 标准的时间格式。
          label:
            en_US: Format
            ja_JP: Format
            pt_BR: Format
            zh_Hans: 格式
          llm_description: null
          max: null
          min: null
          name: format
          options: []
          placeholder: null
          precision: null
          required: false
          scope: null
          template: null
          type: string
        - auto_generate: null
          default: UTC
          form: form
          human_description:
            en_US: Timezone
            ja_JP: Timezone
            pt_BR: Timezone
            zh_Hans: 时区
          label:
            en_US: Timezone
            ja_JP: Timezone
            pt_BR: Timezone
            zh_Hans: 时区
          llm_description: null
          max: null
          min: null
          name: timezone
          options:
          - label:
              en_US: UTC
              ja_JP: UTC
              pt_BR: UTC
              zh_Hans: UTC
            value: UTC
          - label:
              en_US: America/New_York
              ja_JP: America/New_York
              pt_BR: America/New_York
              zh_Hans: 美洲/纽约
            value: America/New_York
          - label:
              en_US: America/Los_Angeles
              ja_JP: America/Los_Angeles
              pt_BR: America/Los_Angeles
              zh_Hans: 美洲/洛杉矶
            value: America/Los_Angeles
          - label:
              en_US: America/Chicago
              ja_JP: America/Chicago
              pt_BR: America/Chicago
              zh_Hans: 美洲/芝加哥
            value: America/Chicago
          - label:
              en_US: America/Sao_Paulo
              ja_JP: America/Sao_Paulo
              pt_BR: América/São Paulo
              zh_Hans: 美洲/圣保罗
            value: America/Sao_Paulo
          - label:
              en_US: Asia/Shanghai
              ja_JP: Asia/Shanghai
              pt_BR: Asia/Shanghai
              zh_Hans: 亚洲/上海
            value: Asia/Shanghai
          - label:
              en_US: Asia/Ho_Chi_Minh
              ja_JP: Asia/Ho_Chi_Minh
              pt_BR: Ásia/Ho Chi Minh
              zh_Hans: 亚洲/胡志明市
            value: Asia/Ho_Chi_Minh
          - label:
              en_US: Asia/Tokyo
              ja_JP: Asia/Tokyo
              pt_BR: Asia/Tokyo
              zh_Hans: 亚洲/东京
            value: Asia/Tokyo
          - label:
              en_US: Asia/Dubai
              ja_JP: Asia/Dubai
              pt_BR: Asia/Dubai
              zh_Hans: 亚洲/迪拜
            value: Asia/Dubai
          - label:
              en_US: Asia/Kolkata
              ja_JP: Asia/Kolkata
              pt_BR: Asia/Kolkata
              zh_Hans: 亚洲/加尔各答
            value: Asia/Kolkata
          - label:
              en_US: Asia/Seoul
              ja_JP: Asia/Seoul
              pt_BR: Asia/Seoul
              zh_Hans: 亚洲/首尔
            value: Asia/Seoul
          - label:
              en_US: Asia/Singapore
              ja_JP: Asia/Singapore
              pt_BR: Asia/Singapore
              zh_Hans: 亚洲/新加坡
            value: Asia/Singapore
          - label:
              en_US: Europe/London
              ja_JP: Europe/London
              pt_BR: Europe/London
              zh_Hans: 欧洲/伦敦
            value: Europe/London
          - label:
              en_US: Europe/Berlin
              ja_JP: Europe/Berlin
              pt_BR: Europe/Berlin
              zh_Hans: 欧洲/柏林
            value: Europe/Berlin
          - label:
              en_US: Europe/Moscow
              ja_JP: Europe/Moscow
              pt_BR: Europe/Moscow
              zh_Hans: 欧洲/莫斯科
            value: Europe/Moscow
          - label:
              en_US: Australia/Sydney
              ja_JP: Australia/Sydney
              pt_BR: Australia/Sydney
              zh_Hans: 澳大利亚/悉尼
            value: Australia/Sydney
          - label:
              en_US: Pacific/Auckland
              ja_JP: Pacific/Auckland
              pt_BR: Pacific/Auckland
              zh_Hans: 太平洋/奥克兰
            value: Pacific/Auckland
          - label:
              en_US: Africa/Cairo
              ja_JP: Africa/Cairo
              pt_BR: Africa/Cairo
              zh_Hans: 非洲/开罗
            value: Africa/Cairo
          placeholder: null
          precision: null
          required: false
          scope: null
          template: null
          type: select
        params:
          format: ''
          timezone: ''
        provider_id: time
        provider_name: time
        provider_type: builtin
        selected: false
        title: 获取当前时间
        tool_configurations:
          format: '%Y-%m-%d %H:%M:%S'
          timezone: Asia/Shanghai
        tool_description: 一个用于获取当前时间的工具。
        tool_label: 获取当前时间
        tool_name: current_time
        tool_parameters: {}
        type: tool
      height: 115
      id: '1747711482602'
      position:
        x: 334
        y: 257.5
      positionAbsolute:
        x: 334
        y: 257.5
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 244
    viewport:
      x: 360.3168153490517
      y: 297.6481105297304
      zoom: 0.923655537541026

The user's problem is '今天年月日'
The expected result is '今天是 2025年5月20日。'

Image

@chenyaojie commented on GitHub (May 19, 2025): I encountered the same problem and can reproduce the error using the following DSL. ```yml app: description: '' icon: 🤖 icon_background: '#FFEAD5' mode: advanced-chat name: Error Date use_icon_as_answer_icon: false dependencies: - current_identifier: null type: marketplace value: marketplace_plugin_unique_identifier: langgenius/tongyi:0.0.25@325423749d5e71f8b4681af1b2ed46d7686cb1947e443a86ba5d14ac45ff85a4 kind: app version: 0.2.0 workflow: conversation_variables: [] environment_variables: [] features: file_upload: allowed_file_extensions: - .JPG - .JPEG - .PNG - .GIF - .WEBP - .SVG allowed_file_types: - image allowed_file_upload_methods: - local_file - remote_url enabled: false fileUploadConfig: audio_file_size_limit: 50 batch_count_limit: 5 file_size_limit: 200 image_file_size_limit: 10 video_file_size_limit: 100 workflow_file_upload_limit: 10 image: enabled: false number_limits: 3 transfer_methods: - local_file - remote_url number_limits: 3 opening_statement: '' retriever_resource: enabled: true sensitive_word_avoidance: enabled: false speech_to_text: enabled: false suggested_questions: [] suggested_questions_after_answer: enabled: false text_to_speech: enabled: false language: '' voice: '' graph: edges: - data: sourceType: llm targetType: answer id: llm-answer source: llm sourceHandle: source target: answer targetHandle: target type: custom - data: isInIteration: false isInLoop: false sourceType: start targetType: tool id: 1747711473150-source-1747711482602-target source: '1747711473150' sourceHandle: source target: '1747711482602' targetHandle: target type: custom zIndex: 0 - data: isInLoop: false sourceType: tool targetType: llm id: 1747711482602-source-llm-target source: '1747711482602' sourceHandle: source target: llm targetHandle: target type: custom zIndex: 0 nodes: - data: desc: '' selected: false title: 开始 type: start variables: [] height: 53 id: '1747711473150' position: x: 30 y: 257.5 positionAbsolute: x: 30 y: 257.5 selected: false sourcePosition: right targetPosition: left type: custom width: 244 - data: context: enabled: false variable_selector: [] desc: '' memory: query_prompt_template: '{{#sys.query#}}' role_prefix: assistant: '' user: '' window: enabled: false size: 50 model: completion_params: {} mode: chat name: qwen-plus-latest provider: langgenius/tongyi/tongyi prompt_template: - id: 3af45eea-1954-47ef-b6e6-ad807ea3654d role: system text: 'Current Time: {{#1747711482602.text#}}' selected: false title: LLM type: llm variables: [] vision: enabled: false height: 89 id: llm position: x: 638 y: 257.5 positionAbsolute: x: 638 y: 257.5 selected: true sourcePosition: right targetPosition: left type: custom width: 244 - data: answer: '{{#llm.text#}}' desc: '' selected: false title: 直接回复 type: answer variables: [] height: 103 id: answer position: x: 942 y: 257.5 positionAbsolute: x: 942 y: 257.5 selected: false sourcePosition: right targetPosition: left type: custom width: 244 - data: desc: '' is_team_authorization: true output_schema: null paramSchemas: - auto_generate: null default: '%Y-%m-%d %H:%M:%S' form: form human_description: en_US: Time format in strftime standard. ja_JP: Time format in strftime standard. pt_BR: Time format in strftime standard. zh_Hans: strftime 标准的时间格式。 label: en_US: Format ja_JP: Format pt_BR: Format zh_Hans: 格式 llm_description: null max: null min: null name: format options: [] placeholder: null precision: null required: false scope: null template: null type: string - auto_generate: null default: UTC form: form human_description: en_US: Timezone ja_JP: Timezone pt_BR: Timezone zh_Hans: 时区 label: en_US: Timezone ja_JP: Timezone pt_BR: Timezone zh_Hans: 时区 llm_description: null max: null min: null name: timezone options: - label: en_US: UTC ja_JP: UTC pt_BR: UTC zh_Hans: UTC value: UTC - label: en_US: America/New_York ja_JP: America/New_York pt_BR: America/New_York zh_Hans: 美洲/纽约 value: America/New_York - label: en_US: America/Los_Angeles ja_JP: America/Los_Angeles pt_BR: America/Los_Angeles zh_Hans: 美洲/洛杉矶 value: America/Los_Angeles - label: en_US: America/Chicago ja_JP: America/Chicago pt_BR: America/Chicago zh_Hans: 美洲/芝加哥 value: America/Chicago - label: en_US: America/Sao_Paulo ja_JP: America/Sao_Paulo pt_BR: América/São Paulo zh_Hans: 美洲/圣保罗 value: America/Sao_Paulo - label: en_US: Asia/Shanghai ja_JP: Asia/Shanghai pt_BR: Asia/Shanghai zh_Hans: 亚洲/上海 value: Asia/Shanghai - label: en_US: Asia/Ho_Chi_Minh ja_JP: Asia/Ho_Chi_Minh pt_BR: Ásia/Ho Chi Minh zh_Hans: 亚洲/胡志明市 value: Asia/Ho_Chi_Minh - label: en_US: Asia/Tokyo ja_JP: Asia/Tokyo pt_BR: Asia/Tokyo zh_Hans: 亚洲/东京 value: Asia/Tokyo - label: en_US: Asia/Dubai ja_JP: Asia/Dubai pt_BR: Asia/Dubai zh_Hans: 亚洲/迪拜 value: Asia/Dubai - label: en_US: Asia/Kolkata ja_JP: Asia/Kolkata pt_BR: Asia/Kolkata zh_Hans: 亚洲/加尔各答 value: Asia/Kolkata - label: en_US: Asia/Seoul ja_JP: Asia/Seoul pt_BR: Asia/Seoul zh_Hans: 亚洲/首尔 value: Asia/Seoul - label: en_US: Asia/Singapore ja_JP: Asia/Singapore pt_BR: Asia/Singapore zh_Hans: 亚洲/新加坡 value: Asia/Singapore - label: en_US: Europe/London ja_JP: Europe/London pt_BR: Europe/London zh_Hans: 欧洲/伦敦 value: Europe/London - label: en_US: Europe/Berlin ja_JP: Europe/Berlin pt_BR: Europe/Berlin zh_Hans: 欧洲/柏林 value: Europe/Berlin - label: en_US: Europe/Moscow ja_JP: Europe/Moscow pt_BR: Europe/Moscow zh_Hans: 欧洲/莫斯科 value: Europe/Moscow - label: en_US: Australia/Sydney ja_JP: Australia/Sydney pt_BR: Australia/Sydney zh_Hans: 澳大利亚/悉尼 value: Australia/Sydney - label: en_US: Pacific/Auckland ja_JP: Pacific/Auckland pt_BR: Pacific/Auckland zh_Hans: 太平洋/奥克兰 value: Pacific/Auckland - label: en_US: Africa/Cairo ja_JP: Africa/Cairo pt_BR: Africa/Cairo zh_Hans: 非洲/开罗 value: Africa/Cairo placeholder: null precision: null required: false scope: null template: null type: select params: format: '' timezone: '' provider_id: time provider_name: time provider_type: builtin selected: false title: 获取当前时间 tool_configurations: format: '%Y-%m-%d %H:%M:%S' timezone: Asia/Shanghai tool_description: 一个用于获取当前时间的工具。 tool_label: 获取当前时间 tool_name: current_time tool_parameters: {} type: tool height: 115 id: '1747711482602' position: x: 334 y: 257.5 positionAbsolute: x: 334 y: 257.5 selected: false sourcePosition: right targetPosition: left type: custom width: 244 viewport: x: 360.3168153490517 y: 297.6481105297304 zoom: 0.923655537541026 ``` The user's problem is '今天年月日' The expected result is '今天是 **2025年5月20日**。' ![Image](https://github.com/user-attachments/assets/82115489-f8b9-480d-ba8d-a7cbc1d0a68b)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#12737