You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/services/anthropic/AnthropicService.java
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -267,6 +267,19 @@ public static InferenceServiceConfiguration get() {
Copy file name to clipboardExpand all lines: x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/services/anthropic/AnthropicServiceTests.java
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -628,6 +628,15 @@ public void testGetConfiguration() throws Exception {
628
628
"updatable": false,
629
629
"type": "str",
630
630
"supported_task_types": ["completion"]
631
+
},
632
+
"max_tokens": {
633
+
"description": "The maximum number of tokens to generate before stopping.",
0 commit comments