File tree Expand file tree Collapse file tree 4 files changed +4
-5
lines changed Expand file tree Collapse file tree 4 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 4949 },
5050 503 : {
5151 "detail" : {
52- "response" : "Configuration is no loaded" ,
52+ "response" : "Configuration is not loaded" ,
5353 }
5454 },
5555}
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ async def get_providers_health_statuses() -> list[ProviderHealthStatus]:
3131 try :
3232 client = AsyncLlamaStackClientHolder ().get_client ()
3333
34- # providers = []
3534 providers = await client .providers .list ()
3635 logger .debug ("Found %d providers" , len (providers ))
3736
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ def models_endpoint_handler(_request: Request) -> ModelsResponse:
4848 check_configuration_loaded (configuration )
4949
5050 llama_stack_configuration = configuration .llama_stack_configuration
51- logger .info ("LLama stack config: %s" , llama_stack_configuration )
51+ logger .info ("Llama stack config: %s" , llama_stack_configuration )
5252
5353 try :
5454 # try to get Llama Stack client
Original file line number Diff line number Diff line change @@ -556,6 +556,8 @@ async def retrieve_response(
556556 query_request .no_tools or False ,
557557 )
558558
559+ logger .debug ("Session ID: %s" , conversation_id )
560+
559561 # bypass tools and MCP servers if no_tools is True
560562 if query_request .no_tools :
561563 mcp_headers = {}
@@ -582,7 +584,6 @@ async def retrieve_response(
582584 ),
583585 }
584586
585- logger .debug ("Session ID: %s" , conversation_id )
586587 vector_db_ids = [
587588 vector_db .identifier for vector_db in await client .vector_dbs .list ()
588589 ]
@@ -593,7 +594,6 @@ async def retrieve_response(
593594 if not toolgroups :
594595 toolgroups = None
595596
596- logger .debug ("Session ID: %s" , conversation_id )
597597 response = await agent .create_turn (
598598 messages = [UserMessage (role = "user" , content = query_request .query )],
599599 session_id = session_id ,
You can’t perform that action at this time.
0 commit comments