mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-03 05:12:50 +00:00
Avoid log level misconfiguration, allow user to configure log level
This commit is contained in:
1 parent
d32d74a477
commit
927e36bbb6
3 files changed
+12
-4
No files matched your search
@@ -12,8 +12,11 @@ from sensai.util.helper import mark_used
|
||||
from serena.agent import SerenaAgent
|
||||
from serena.agno import SerenaAgnoToolkit
|
||||
|
||||
os.chdir(os.path.dirname(os.path.abspath(__file__)))
|
||||
mark_used(Gemini, Claude)
|
||||
|
||||
os.chdir(os.path.dirname(os.path.abspath(__file__)))
|
||||
Logger.root.setLevel(logging.INFO)
|
||||
|
||||
load_dotenv()
|
||||
|
||||
project_file_path = "../myproject.yml"
|
||||
@@ -38,5 +41,4 @@ agno_agent = Agent(
|
||||
app = Playground(agents=[agno_agent]).get_app()
|
||||
|
||||
if __name__ == "__main__":
|
||||
Logger.root.setLevel(logging.INFO)
|
||||
serve_playground_app("agno_agent:app", reload=False)
|
||||
Reference in new issue
Block a user