File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 2424@click .command ()
2525@click .option ('--host' , 'host' , default = 'localhost' )
2626@click .option ('--port' , 'port' , default = 9999 )
27- def main (host : str , port : int ):
27+ def main (host : str , port : int ) -> None :
28+ """Start the API catalog server with the given host and port."""
2829 hello_skill = AgentSkill (
2930 id = 'hello_world' ,
3031 name = 'Returns hello world' ,
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ class HelloWorldAgentExecutor(AgentExecutor):
2626 Intended for demonstration, testing, or HelloWorld scaffolding purposes.
2727 """
2828
29- def __init__ (self ):
29+ def __init__ (self ) -> None :
3030 """Initializes the executor with a HelloWorldAgent instance."""
3131 self .agent = HelloWorldAgent ()
3232
@@ -88,7 +88,7 @@ class EchoAgentExecutor(AgentExecutor):
8888 Intended for demonstration, testing, or HelloWorld scaffolding purposes.
8989 """
9090
91- def __init__ (self ):
91+ def __init__ (self ) -> None :
9292 """Initializes the executor with a EchoAgent instance."""
9393 self .agent = EchoAgent ()
9494
You can’t perform that action at this time.
0 commit comments