Skip to content

Commit 9457b2a

Browse files
feat: added models :gemini 2.0 flash 001 and gemini 2.0 pro exp 02-05 (#13247)
1 parent 7203991 commit 9457b2a

File tree

3 files changed

+84
-0
lines changed

3 files changed

+84
-0
lines changed

api/core/model_runtime/model_providers/google/llm/_position.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
- gemini-2.0-flash-001
12
- gemini-2.0-flash-exp
3+
- gemini-2.0-pro-exp-02-05
24
- gemini-2.0-flash-thinking-exp-1219
35
- gemini-2.0-flash-thinking-exp-01-21
46
- gemini-1.5-pro
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
model: gemini-2.0-flash-001
2+
label:
3+
en_US: Gemini 2.0 Flash 001
4+
model_type: llm
5+
features:
6+
- agent-thought
7+
- vision
8+
- tool-call
9+
- stream-tool-call
10+
- document
11+
- video
12+
- audio
13+
model_properties:
14+
mode: chat
15+
context_size: 1048576
16+
parameter_rules:
17+
- name: temperature
18+
use_template: temperature
19+
- name: top_p
20+
use_template: top_p
21+
- name: top_k
22+
label:
23+
zh_Hans: 取样数量
24+
en_US: Top k
25+
type: int
26+
help:
27+
zh_Hans: 仅从每个后续标记的前 K 个选项中采样。
28+
en_US: Only sample from the top K options for each subsequent token.
29+
required: false
30+
- name: max_output_tokens
31+
use_template: max_tokens
32+
default: 8192
33+
min: 1
34+
max: 8192
35+
- name: json_schema
36+
use_template: json_schema
37+
pricing:
38+
input: '0.00'
39+
output: '0.00'
40+
unit: '0.000001'
41+
currency: USD
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
model: gemini-2.0-pro-exp-02-05
2+
label:
3+
en_US: Gemini 2.0 pro exp 02-05
4+
model_type: llm
5+
features:
6+
- agent-thought
7+
- vision
8+
- tool-call
9+
- stream-tool-call
10+
- document
11+
- video
12+
- audio
13+
model_properties:
14+
mode: chat
15+
context_size: 1048576
16+
parameter_rules:
17+
- name: temperature
18+
use_template: temperature
19+
- name: top_p
20+
use_template: top_p
21+
- name: top_k
22+
label:
23+
zh_Hans: 取样数量
24+
en_US: Top k
25+
type: int
26+
help:
27+
zh_Hans: 仅从每个后续标记的前 K 个选项中采样。
28+
en_US: Only sample from the top K options for each subsequent token.
29+
required: false
30+
- name: max_output_tokens
31+
use_template: max_tokens
32+
default: 8192
33+
min: 1
34+
max: 8192
35+
- name: json_schema
36+
use_template: json_schema
37+
pricing:
38+
input: '0.00'
39+
output: '0.00'
40+
unit: '0.000001'
41+
currency: USD

0 commit comments

Comments
 (0)