File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
cli/services/vefaas/template/src Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 44from a2a .types import AgentCard
55from google .adk .agents .remote_a2a_agent import RemoteA2aAgent
66
7- AGENT_CARD_WELL_KNOWN_PATH = "/.well-known/agent-card .json"
7+ AGENT_CARD_WELL_KNOWN_PATH = "/.well-known/agent.json"
88
99
1010class RemoteVeAgent (RemoteA2aAgent ):
Original file line number Diff line number Diff line change 2020
2121SERVER_HOST = os .getenv ("SERVER_HOST" )
2222
23- AGENT .tracers = TRACERS
23+ AGENT .tracers . extend ( TRACERS )
2424
2525app = init_app (
2626 server_url = SERVER_HOST ,
Original file line number Diff line number Diff line change 2626TRACERS : list [BaseTracer ] = []
2727
2828exporters = []
29- if os .getenv ("VEADK_TRACER_APMPLUS" ) == "true" :
29+ if os .getenv ("VEADK_TRACER_APMPLUS" , "" ). lower ( ) == "true" :
3030 from veadk .tracing .telemetry .exporters .apmplus_exporter import APMPlusExporter
3131
3232 exporters .append (APMPlusExporter ())
3333
34- if os .getenv ("VEADK_TRACER_COZELOOP" ) == "true" :
34+ if os .getenv ("VEADK_TRACER_COZELOOP" , "" ). lower ( ) == "true" :
3535 from veadk .tracing .telemetry .exporters .cozeloop_exporter import CozeloopExporter
3636
3737 exporters .append (CozeloopExporter ())
3838
39- if os .getenv ("VEADK_TRACER_TLS" ) == "true" :
39+ if os .getenv ("VEADK_TRACER_TLS" , "" ). lower ( ) == "true" :
4040 from veadk .tracing .telemetry .exporters .tls_exporter import TLSExporter
4141
4242 exporters .append (TLSExporter ())
You can’t perform that action at this time.
0 commit comments