File tree Expand file tree Collapse file tree 1 file changed +33
-13
lines changed
Expand file tree Collapse file tree 1 file changed +33
-13
lines changed Original file line number Diff line number Diff line change 3030 <version >${embabel-agent.version} </version >
3131 </dependency >
3232
33- <dependency >
34- <groupId >com.embabel.agent</groupId >
35- <artifactId >embabel-agent-starter-openai</artifactId >
36- <version >${embabel-agent.version} </version >
37- </dependency >
38-
39- <!-- Uncomment to use Anthropic models -->
40- <!-- <dependency>-->
41- <!-- <groupId>com.embabel.agent</groupId>-->
42- <!-- <artifactId>embabel-agent-starter-anthropic</artifactId>-->
43- <!-- <version>${embabel-agent.version}</version>-->
44- <!-- </dependency>-->
45-
4633 <dependency >
4734 <groupId >com.embabel.agent</groupId >
4835 <artifactId >embabel-agent-starter-shell</artifactId >
7562 </plugins >
7663 </build >
7764
65+ <profiles >
66+ <profile >
67+ <id >openai-models</id >
68+ <activation >
69+ <property >
70+ <name >env.OPENAI_API_KEY</name >
71+ </property >
72+ </activation >
73+ <dependencies >
74+ <dependency >
75+ <groupId >com.embabel.agent</groupId >
76+ <artifactId >embabel-agent-starter-openai</artifactId >
77+ <version >${embabel-agent.version} </version >
78+ </dependency >
79+ </dependencies >
80+ </profile >
81+ <profile >
82+ <id >anthropic-models</id >
83+ <activation >
84+ <property >
85+ <name >env.ANTHROPIC_API_KEY</name >
86+ </property >
87+ </activation >
88+ <dependencies >
89+ <dependency >
90+ <groupId >com.embabel.agent</groupId >
91+ <artifactId >embabel-agent-starter-anthropic</artifactId >
92+ <version >${embabel-agent.version} </version >
93+ </dependency >
94+ </dependencies >
95+ </profile >
96+ </profiles >
97+
7898 <!-- Uncomment these lines to enable Embabel repositories and use snapshots -->
7999 <!-- <repositories>-->
80100 <!-- <repository>-->
You can’t perform that action at this time.
0 commit comments