mirror of
https://gitee.com/mateos/mateclaw.git
synced 2026-09-13 03:13:41 +08:00
22 lines
580 B
Java
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;
|
|
}
|