File tree Expand file tree Collapse file tree 9 files changed +68
-4
lines changed Expand file tree Collapse file tree 9 files changed +68
-4
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ Constants used in business logic.
1515## [ lightspeed_stack.py] ( lightspeed_stack.py )
1616Entry point to the Lightspeed Core Stack REST API service.
1717
18+ ## [ llama_stack_configuration.py] ( llama_stack_configuration.py )
19+ Llama Stack configuration handling.
20+
1821## [ log.py] ( log.py )
1922Log utilities.
2023
Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ Handler for REST API call to retrieve service configuration.
1212## [ conversations.py] ( conversations.py )
1313Handler for REST API calls to manage conversation history.
1414
15+ ## [ conversations_v2.py] ( conversations_v2.py )
16+ Handler for REST API calls to manage conversation history.
17+
1518## [ feedback.py] ( feedback.py )
1619Handler for REST API endpoint for user feedback.
1720
@@ -27,12 +30,21 @@ Handler for REST API call to provide metrics.
2730## [ models.py] ( models.py )
2831Handler for REST API call to list available models.
2932
33+ ## [ providers.py] ( providers.py )
34+ Handler for REST API calls to list and retrieve available providers.
35+
3036## [ query.py] ( query.py )
3137Handler for REST API call to provide answer to query.
3238
3339## [ root.py] ( root.py )
3440Handler for the / endpoint.
3541
42+ ## [ shields.py] ( shields.py )
43+ Handler for REST API call to list available shields.
44+
3645## [ streaming_query.py] ( streaming_query.py )
3746Handler for REST API call to provide answer to streaming query.
3847
48+ ## [ tools.py] ( tools.py )
49+ Handler for REST API call to list available tools from MCP servers.
50+
Original file line number Diff line number Diff line change 1+ # List of source files stored in ` src/cache ` directory
2+
3+ ## [ __ init__ .py] ( __init__.py )
4+ Various cache implementations.
5+
6+ ## [ cache.py] ( cache.py )
7+ Abstract class that is parent for all cache implementations.
8+
9+ ## [ cache_error.py] ( cache_error.py )
10+ Any exception that can occur during cache operations.
11+
12+ ## [ cache_factory.py] ( cache_factory.py )
13+ Cache factory class.
14+
15+ ## [ in_memory_cache.py] ( in_memory_cache.py )
16+ In-memory cache implementation.
17+
18+ ## [ noop_cache.py] ( noop_cache.py )
19+ No-operation cache implementation.
20+
21+ ## [ postgres_cache.py] ( postgres_cache.py )
22+ PostgreSQL cache implementation.
23+
24+ ## [ sqlite_cache.py] ( sqlite_cache.py )
25+ Cache that uses SQLite to store cached values.
26+
Original file line number Diff line number Diff line change 11# List of source files stored in ` src/metrics ` directory
22
33## [ __ init__ .py] ( __init__.py )
4- Metrics module for Lightspeed Stack.
4+ Metrics module for Lightspeed Core Stack.
55
66## [ utils.py] ( utils.py )
77Utility functions for metrics handling.
Original file line number Diff line number Diff line change 33## [ __ init__ .py] ( __init__.py )
44Pydantic models.
55
6+ ## [ cache_entry.py] ( cache_entry.py )
7+ Model for conversation history cache entry.
8+
69## [ config.py] ( config.py )
710Model with service configuration.
811
Original file line number Diff line number Diff line change 1+ # List of source files stored in ` src/quota ` directory
2+
3+ ## [ __ init__ .py] ( __init__.py )
4+ Quota management.
5+
6+ ## [ sql.py] ( sql.py )
7+ SQL commands used by quota management package.
8+
Original file line number Diff line number Diff line change 33## [ __ init__ .py] ( __init__.py )
44Runners.
55
6+ ## [ quota_scheduler.py] ( quota_scheduler.py )
7+ User and cluster quota scheduler runner.
8+
69## [ uvicorn.py] ( uvicorn.py )
710Uvicorn runner.
811
Original file line number Diff line number Diff line change 11# List of source files stored in ` src/utils ` directory
22
33## [ __ init__ .py] ( __init__.py )
4- Utils .
4+ Utility classes and functions for the Lightspeed Stack core service .
55
66## [ checks.py] ( checks.py )
77Checks that are performed to configuration options.
88
99## [ common.py] ( common.py )
1010Common utilities for the project.
1111
12+ ## [ connection_decorator.py] ( connection_decorator.py )
13+ Decorator that makes sure the object is 'connected' according to it's connected predicate.
14+
1215## [ endpoints.py] ( endpoints.py )
1316Utility functions for endpoint handlers.
1417
@@ -21,6 +24,12 @@ MCP headers handling.
2124## [ suid.py] ( suid.py )
2225Session ID utility functions.
2326
27+ ## [ token_counter.py] ( token_counter.py )
28+ Helper classes to count tokens sent and received by the LLM.
29+
30+ ## [ tool_formatter.py] ( tool_formatter.py )
31+ Utility functions for formatting and parsing MCP tool descriptions.
32+
2433## [ transcripts.py] ( transcripts.py )
2534Transcript handling.
2635
Original file line number Diff line number Diff line change 1- """Decocator that makes sure the object is 'connected' according to it's connected predicate."""
1+ """Decorator that makes sure the object is 'connected' according to it's connected predicate."""
22
33from typing import Any , Callable
44
55
66def connection (f : Callable ) -> Callable :
7- """Decocator that makes sure the object is ' connected' according to it's connected predicate.
7+ """Make decorator that makes sure the object is connected according to it's connected predicate.
88
99 Example:
1010 ```python
You can’t perform that action at this time.
0 commit comments