Class DashScopeProperties

java.lang.Object
io.agentscope.spring.boot.dashscope.DashScopeProperties

@ConfigurationProperties(prefix="agentscope.dashscope") public class DashScopeProperties extends Object
DashScope provider specific configuration properties.

Example configuration (default provider when agentscope.model.provider is omitted):


 agentscope:
   dashscope:
     enabled: true
     api-key: ${DASHSCOPE_API_KEY}
     model-name: qwen-plus
     # base-url: # optional
     stream: true
     enable-thinking: true
     # multimodal-model-patterns: ["deepseek-v4.1"]   # optional
 
  • Constructor Details

    • DashScopeProperties

      public DashScopeProperties()
  • Method Details

    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
    • getApiKey

      public String getApiKey()
    • setApiKey

      public void setApiKey(String apiKey)
    • getModelName

      public String getModelName()
    • setModelName

      public void setModelName(String modelName)
    • getBaseUrl

      public String getBaseUrl()
    • setBaseUrl

      public void setBaseUrl(String baseUrl)
    • isStream

      public boolean isStream()
    • setStream

      public void setStream(boolean stream)
    • getEnableThinking

      public Boolean getEnableThinking()
    • setEnableThinking

      public void setEnableThinking(Boolean enableThinking)
    • getMultimodalModelPatterns

      public List<String> getMultimodalModelPatterns()
    • setMultimodalModelPatterns

      public void setMultimodalModelPatterns(List<String> multimodalModelPatterns)