app:
  name: XinoAPI short reply
  description: Configure your model provider before running. A run may incur API charges.
  mode: workflow
  icon: 🤖
  icon_background: '#E0EAFF'
  use_icon_as_answer_icon: false
kind: app
version: 0.3.1
dependencies: []
workflow:
  conversation_variables: []
  environment_variables: []
  features:
    file_upload:
      enabled: false
    retriever_resource:
      enabled: false
    sensitive_word_avoidance:
      enabled: false
    speech_to_text:
      enabled: false
    text_to_speech:
      enabled: false
    suggested_questions: []
    suggested_questions_after_answer:
      enabled: false
    opening_statement: ''
  graph:
    nodes:
    - id: start
      type: custom
      data:
        type: start
        title: Start
        variables:
        - variable: query
          label: query
          type: text-input
          required: true
          max_length: 200
          options: []
      position:
        x: 0
        y: 200
      width: 244
      sourcePosition: right
      targetPosition: left
    - id: llm
      type: custom
      data:
        type: llm
        title: Select your XinoAPI model
        model:
          provider: langgenius/openai_api_compatible/openai_api_compatible
          name: deepseek-v4-flash-0731
          mode: chat
          completion_params:
            max_tokens: 64
        prompt_template:
        - role: system
          text: Reply briefly.
        - role: user
          text: '{{#start.query#}}'
        context:
          enabled: false
          variable_selector: []
        vision:
          enabled: false
        retry_config:
          enabled: false
          max_retries: 1
          retry_interval: 1000
      position:
        x: 300
        y: 200
      width: 244
      sourcePosition: right
      targetPosition: left
    - id: end
      type: custom
      data:
        type: end
        title: End
        outputs:
        - variable: answer
          value_selector:
          - llm
          - text
          value_type: string
      position:
        x: 600
        y: 200
      width: 244
      sourcePosition: right
      targetPosition: left
    edges:
    - id: start-llm
      type: custom
      source: start
      target: llm
      sourceHandle: source
      targetHandle: target
      data:
        sourceType: start
        targetType: llm
        isInIteration: false
        isInLoop: false
    - id: llm-end
      type: custom
      source: llm
      target: end
      sourceHandle: source
      targetHandle: target
      data:
        sourceType: llm
        targetType: end
        isInIteration: false
        isInLoop: false
    viewport:
      x: 0
      y: 0
      zoom: 0.7
