22from datetime import datetime
33from typing import Optional
44
5- from agentstack .utils import clean_input , get_version
5+ from agentstack .utils import clean_input , get_version , snake_to_camel
66from agentstack import log
77
88
@@ -11,6 +11,7 @@ def __init__(
1111 self ,
1212 project_name : Optional [str ] = None ,
1313 project_slug : Optional [str ] = None ,
14+ class_name : Optional [str ] = None ,
1415 description : str = "" ,
1516 author_name : str = "" ,
1617 version : str = "" ,
@@ -21,6 +22,7 @@ def __init__(
2122 ):
2223 self .project_name = clean_input (project_name ) if project_name else "myagent"
2324 self .project_slug = clean_input (project_slug ) if project_slug else self .project_name
25+ self .class_name = snake_to_camel (self .project_slug ) if not class_name else class_name
2426 self .description = description
2527 self .author_name = author_name
2628 self .version = version
@@ -36,6 +38,7 @@ def to_dict(self):
3638 return {
3739 'project_name' : self .project_name ,
3840 'project_slug' : self .project_slug ,
41+ 'class_name' : self .class_name ,
3942 'description' : self .description ,
4043 'author_name' : self .author_name ,
4144 'version' : self .version ,
0 commit comments