forked from github/copilot-sdk-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathModelSupports.java
More file actions
53 lines (44 loc) · 1.44 KB
/
ModelSupports.java
File metadata and controls
53 lines (44 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------------------------------------------*/
package com.github.copilot.sdk.json;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Model support flags.
*
* @since 1.0.1
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class ModelSupports {
@JsonProperty("vision")
private boolean vision;
@JsonProperty("reasoningEffort")
private boolean reasoningEffort;
public boolean isVision() {
return vision;
}
public ModelSupports setVision(boolean vision) {
this.vision = vision;
return this;
}
/**
* Returns whether this model supports reasoning effort configuration.
*
* @return {@code true} if the model supports reasoning effort
*/
public boolean isReasoningEffort() {
return reasoningEffort;
}
/**
* Sets whether this model supports reasoning effort configuration.
*
* @param reasoningEffort
* {@code true} if the model supports reasoning effort
* @return this instance for method chaining
*/
public ModelSupports setReasoningEffort(boolean reasoningEffort) {
this.reasoningEffort = reasoningEffort;
return this;
}
}