nikeshn commited on
Commit
d9ec0ee
·
verified ·
1 Parent(s): 5a65def

Upload 2 files

Browse files
Files changed (1) hide show
  1. src/config.py +10 -2
src/config.py CHANGED
@@ -8,7 +8,7 @@ from pydantic import field_validator
8
  from pydantic_settings import BaseSettings, SettingsConfigDict
9
 
10
 
11
- LIBBEE_VERSION = "4.0.0"
12
 
13
 
14
  class Settings(BaseSettings):
@@ -43,10 +43,18 @@ class Settings(BaseSettings):
43
  rag_index_dir: str = ""
44
  knowledge_dir: str = ""
45
 
46
- # Used only by the authenticated server-side admin analytics proxy.
 
47
  cloudflare_worker_url: str = ""
48
  cloudflare_admin_token: str = ""
49
 
 
 
 
 
 
 
 
50
  @field_validator("max_results")
51
  @classmethod
52
  def reasonable_max_results(cls, value: int) -> int:
 
8
  from pydantic_settings import BaseSettings, SettingsConfigDict
9
 
10
 
11
+ LIBBEE_VERSION = "4.1.0"
12
 
13
 
14
  class Settings(BaseSettings):
 
43
  rag_index_dir: str = ""
44
  knowledge_dir: str = ""
45
 
46
+ # The authenticated admin page receives only a short-lived signed token;
47
+ # the permanent shared secret is never serialized into browser HTML.
48
  cloudflare_worker_url: str = ""
49
  cloudflare_admin_token: str = ""
50
 
51
+ # HF talks to LibCal directly because some hosted environments cannot open
52
+ # outbound connections to shared workers.dev hostnames.
53
+ libcal_client_id: str = ""
54
+ libcal_client_secret: str = ""
55
+ libcal_events_client_id: str = ""
56
+ libcal_events_client_secret: str = ""
57
+
58
  @field_validator("max_results")
59
  @classmethod
60
  def reasonable_max_results(cls, value: int) -> int: