Add coding A2A agent template and docs
This commit is contained in:
+6
-1
@@ -17,7 +17,12 @@ import os
|
||||
# Database URL - PostgreSQL (hardcoded)
|
||||
DATABASE_URL = "postgresql://taiji:By%40123456.@taijipda.postgres.database.azure.com:5432/taijiagnet"
|
||||
|
||||
engine = create_engine(DATABASE_URL)
|
||||
engine = create_engine(
|
||||
DATABASE_URL,
|
||||
pool_pre_ping=True,
|
||||
pool_recycle=1800,
|
||||
pool_use_lifo=True,
|
||||
)
|
||||
SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine)
|
||||
Base = declarative_base()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user