File tree Expand file tree Collapse file tree 7 files changed +77
-2
lines changed
bpmn/.camunda/element-templates Expand file tree Collapse file tree 7 files changed +77
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ def model_id_to_llm(
53
53
elif model_id == "azure-openai" :
54
54
return ChatOpenAI .for_azure (endpoint = kwargs ["model_endpoint" ])
55
55
elif model_id == "openai-compatible" :
56
- return ChatOpenAI .for_openai_compatible (endpoint = kwargs ["model_endpoint" ])
56
+ return ChatOpenAI .for_openai_compatible (endpoint = kwargs ["model_endpoint" ], model = kwargs [ "custom_llm" ] )
57
57
elif model_id .startswith ("claude" ):
58
58
return ChatAnthropic .for_anthropic (model = model_id )
59
59
elif model_id .startswith ("groq" ):
Original file line number Diff line number Diff line change 1
1
[tool .poetry ]
2
2
name = " bpm-ai-connectors-c8"
3
- version = " 1.3.4 "
3
+ version = " 1.3.5 "
4
4
description = " AI connectors for Camunda 8 based on the bpm-ai project."
5
5
authors = [" Bennet Krause <bennet.krause@holisticon.de>" ]
6
6
repository = " https://github.com/holunda-io/bpm-ai-connectors-camunda-8"
Original file line number Diff line number Diff line change 107
107
"equals" : " local-llm"
108
108
}
109
109
},
110
+ {
111
+ "label" : " Model ID" ,
112
+ "group" : " model" ,
113
+ "type" : " String" ,
114
+ "value" : " " ,
115
+ "feel" : " optional" ,
116
+ "binding" : {
117
+ "type" : " zeebe:input" ,
118
+ "name" : " custom_llm"
119
+ },
120
+ "condition" : {
121
+ "property" : " llm" ,
122
+ "equals" : " openai-compatible"
123
+ }
124
+ },
110
125
{
111
126
"label" : " Endpoint" ,
112
127
"group" : " model" ,
Original file line number Diff line number Diff line change 109
109
"equals" : " local-llm"
110
110
}
111
111
},
112
+ {
113
+ "label" : " Model ID" ,
114
+ "group" : " model" ,
115
+ "type" : " String" ,
116
+ "value" : " " ,
117
+ "feel" : " optional" ,
118
+ "binding" : {
119
+ "type" : " zeebe:input" ,
120
+ "name" : " custom_llm"
121
+ },
122
+ "condition" : {
123
+ "property" : " llm" ,
124
+ "equals" : " openai-compatible"
125
+ }
126
+ },
112
127
{
113
128
"label" : " Endpoint" ,
114
129
"group" : " model" ,
Original file line number Diff line number Diff line change 112
112
"equals" : " local-llm"
113
113
}
114
114
},
115
+ {
116
+ "label" : " Model ID" ,
117
+ "group" : " model" ,
118
+ "type" : " String" ,
119
+ "value" : " " ,
120
+ "feel" : " optional" ,
121
+ "binding" : {
122
+ "type" : " zeebe:input" ,
123
+ "name" : " custom_llm"
124
+ },
125
+ "condition" : {
126
+ "property" : " llm" ,
127
+ "equals" : " openai-compatible"
128
+ }
129
+ },
115
130
{
116
131
"label" : " Endpoint" ,
117
132
"group" : " model" ,
Original file line number Diff line number Diff line change 107
107
"equals" : " local-llm"
108
108
}
109
109
},
110
+ {
111
+ "label" : " Model ID" ,
112
+ "group" : " model" ,
113
+ "type" : " String" ,
114
+ "value" : " " ,
115
+ "feel" : " optional" ,
116
+ "binding" : {
117
+ "type" : " zeebe:input" ,
118
+ "name" : " custom_llm"
119
+ },
120
+ "condition" : {
121
+ "property" : " llm" ,
122
+ "equals" : " openai-compatible"
123
+ }
124
+ },
110
125
{
111
126
"label" : " Endpoint" ,
112
127
"group" : " model" ,
Original file line number Diff line number Diff line change 108
108
"equals" : " local-llm"
109
109
}
110
110
},
111
+ {
112
+ "label" : " Model ID" ,
113
+ "group" : " model" ,
114
+ "type" : " String" ,
115
+ "value" : " " ,
116
+ "feel" : " optional" ,
117
+ "binding" : {
118
+ "type" : " zeebe:input" ,
119
+ "name" : " custom_llm"
120
+ },
121
+ "condition" : {
122
+ "property" : " llm" ,
123
+ "equals" : " openai-compatible"
124
+ }
125
+ },
111
126
{
112
127
"label" : " Endpoint" ,
113
128
"group" : " model" ,
You can’t perform that action at this time.
0 commit comments