File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
py/packages/genkit/src/genkit Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 3838
3939import structlog
4040
41+ from genkit .core .constants import DEFAULT_GENKIT_VERSION
42+
4143logger = structlog .get_logger (__name__ )
4244
4345
@@ -87,6 +89,7 @@ def create_runtime(
8789 'reflectionApiSpecVersion' : 1 ,
8890 'id' : f'{ os .getpid ()} ' ,
8991 'pid' : os .getpid (),
92+ 'genkitVersion' : 'py/' + DEFAULT_GENKIT_VERSION ,
9093 'reflectionServerUrl' : reflection_server_spec .url ,
9194 'timestamp' : f'{ current_datetime .isoformat ()} ' ,
9295 })
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ def do_GET(self) -> None: # noqa: N802
113113 For the /api/actions endpoint, returns a JSON object mapping action
114114 keys to their metadata, including input/output schemas.
115115 """
116- if self .path == '/api/__health' :
116+ if urllib . parse . urlparse ( self . path ) .path == '/api/__health' :
117117 self .send_response (200 , 'OK' )
118118 self .end_headers ()
119119
You can’t perform that action at this time.
0 commit comments