package com.dsapi.dto; /** * 对外提供商问答请求。apiKey 优先取 Body。 */ public class ProviderChatRequest { /** 优先使用的 API Key(Body) */ private String apiKey; private String question; private Boolean webSearch; /** none | save,默认 none */ private String historyMode; public String getApiKey() { return apiKey; } public void setApiKey(String apiKey) { this.apiKey = apiKey; } public String getQuestion() { return question; } public void setQuestion(String question) { this.question = question; } public Boolean getWebSearch() { return webSearch; } public void setWebSearch(Boolean webSearch) { this.webSearch = webSearch; } public String getHistoryMode() { return historyMode; } public void setHistoryMode(String historyMode) { this.historyMode = historyMode; } }