mirror of
				https://github.com/microsoft/autogen.git
				synced 2025-11-03 19:29:52 +00:00 
			
		
		
		
	* add skeleton worflow manager * add test notebook * update test nb * add sample team spec * refactor requirements to agentchat and ext * add base provider to return agentchat agents from json spec * initial api refactor, update dbmanager * api refactor * refactor tests * ags api tutorial update * ui refactor * general refactor * minor refactor updates * backend api refaactor * ui refactor and update * implement v1 for streaming connection with ui updates * backend refactor * ui refactor * minor ui tweak * minor refactor and tweaks * general refactor * update tests * sync uv.lock with main * uv lock update
		
			
				
	
	
		
			19 lines
		
	
	
		
			500 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			500 B
		
	
	
	
		
			Python
		
	
	
	
	
	
# api/config.py
 | 
						|
from pydantic_settings import BaseSettings
 | 
						|
 | 
						|
 | 
						|
class Settings(BaseSettings):
 | 
						|
    DATABASE_URI: str = "sqlite:///./autogen.db"
 | 
						|
    API_DOCS: bool = False
 | 
						|
    CLEANUP_INTERVAL: int = 300  # 5 minutes
 | 
						|
    SESSION_TIMEOUT: int = 3600  # 1 hour
 | 
						|
    CONFIG_DIR: str = "configs"  # Default config directory relative to app_root
 | 
						|
    DEFAULT_USER_ID: str = "guestuser@gmail.com"
 | 
						|
    UPGRADE_DATABASE: bool = False
 | 
						|
 | 
						|
    class Config:
 | 
						|
        env_prefix = "AUTOGENSTUDIO_"
 | 
						|
 | 
						|
 | 
						|
settings = Settings()
 |