Skip to content

Commit a29b069

Browse files
authored
Merge pull request lightspeed-core#861 from radofuchs/LCORE_730_conversation_v2_E2E_tests
LCORE-730: add new e2e tests for conversation v2
2 parents dbc49ff + 4453331 commit a29b069

7 files changed

Lines changed: 646 additions & 4 deletions

File tree

lightspeed-stack.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,11 @@ user_data_collection:
2121
transcripts_enabled: true
2222
transcripts_storage: "/tmp/data/transcripts"
2323

24+
# Conversation cache for storing Q&A history
25+
conversation_cache:
26+
type: "sqlite"
27+
sqlite:
28+
db_path: "/tmp/data/conversation-cache.db" # Persistent across requests, can be deleted between test runs
29+
2430
authentication:
2531
module: "noop"

tests/e2e/configuration/lightspeed-stack-auth-noop-token.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,12 @@ user_data_collection:
2121
transcripts_enabled: true
2222
transcripts_storage: "/tmp/data/transcripts"
2323

24+
# Conversation cache for storing Q&A history
25+
conversation_cache:
26+
type: "sqlite"
27+
sqlite:
28+
db_path: "/tmp/data/conversation-cache.db"
29+
2430
authentication:
2531
module: "noop-with-token"
32+
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Lightspeed Core Service (LCS)
2+
service:
3+
host: 0.0.0.0
4+
port: 8080
5+
auth_enabled: false
6+
workers: 1
7+
color_log: true
8+
access_log: true
9+
llama_stack:
10+
# Uses a remote llama-stack service
11+
# The instance would have already been started with a llama-stack-run.yaml file
12+
use_as_library_client: false
13+
# Alternative for "as library use"
14+
# use_as_library_client: true
15+
# library_client_config_path: <path-to-llama-stack-run.yaml-file>
16+
url: http://llama-stack:8321
17+
api_key: xyzzy
18+
user_data_collection:
19+
feedback_enabled: true
20+
feedback_storage: "/tmp/data/feedback"
21+
transcripts_enabled: true
22+
transcripts_storage: "/tmp/data/transcripts"
23+
24+
# NO conversation_cache configured - for testing error handling
25+
26+
authentication:
27+
module: "noop-with-token"
28+

0 commit comments

Comments
 (0)