Skip to content

Commit 980f2b0

Browse files
google-genai-botcopybara-github
authored andcommitted
refactor: make AgentStaticLoader public
This is needed to start an application with custom Spring configuration. AgentStaticLoader will be able to be instantiated as a bean. PiperOrigin-RevId: 835220523
1 parent 9bb0207 commit 980f2b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dev/src/main/java/com/google/adk/web/AgentStaticLoader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
* <p>This class is not a Spring component by itself - instances are created programmatically and
3838
* then registered as beans via factory methods.
3939
*/
40-
class AgentStaticLoader implements AgentLoader {
40+
public class AgentStaticLoader implements AgentLoader {
4141

4242
private final ImmutableMap<String, BaseAgent> agents;
4343

0 commit comments

Comments
 (0)