mateclaw/mateclaw-server/src/main/java/vip/mate/llm/model/ProviderConfigRequest.java
2026-05-13 10:05:53 +08:00

22 lines
580 B
Java

package vip.mate.llm.model;
import lombok.Data;
import java.util.Map;
@Data
public class ProviderConfigRequest {
private String apiKey;
private String baseUrl;
private String protocol;
private String chatModel;
private Map<String, Object> generateKwargs;
private Boolean requireApiKey;
/**
* RFC-009 P3.5: provider's position in the multi-model failover chain.
* {@code 0} = excluded; positive ints define ascending try-order. When
* {@code null} the field is left untouched on update.
*/
private Integer fallbackPriority;
}