Skip to content

Commit ebccb65

Browse files
committed
Fixing Testes on github actions 2.0
1 parent 41aba52 commit ebccb65

2 files changed

Lines changed: 14 additions & 15 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@ jobs:
4444

4545
frontend-check:
4646
runs-on: ubuntu-latest
47-
48-
defaults:
49-
run:
50-
working-directory: ./apps/web
5147

5248
steps:
5349
- uses: actions/checkout@v4
@@ -68,9 +64,12 @@ jobs:
6864

6965
- name: Lint
7066
run: pnpm lint
67+
working-directory: ./apps/web
7168

7269
- name: Type Check
7370
run: pnpm tsc --noEmit
71+
working-directory: ./apps/web
7472

7573
- name: Run Tests
7674
run: pnpm test
75+
working-directory: ./apps/web

apps/api/src/config.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,27 +14,27 @@ class Settings(BaseSettings):
1414
Application settings.
1515
All can be overridden via environment variables.
1616
"""
17-
17+
1818
# Application
1919
app_name: str = "CodebaseQA"
2020
debug: bool = False
21-
21+
2222
# API Server
2323
host: str = "0.0.0.0"
2424
port: int = 8000
25-
25+
2626
# CORS
2727
cors_origins: List[str] = ["http://localhost:3000", "http://127.0.0.1:3000"]
28-
28+
2929
# Database
3030
database_url: str = "sqlite:///./data/codebaseqa.db"
31-
31+
3232
# Vector Store
3333
vector_db_type: str = "chroma" # "chroma" or "qdrant"
3434
chroma_persist_dir: str = "./data/chroma"
3535
qdrant_url: Optional[str] = None
3636
qdrant_api_key: Optional[str] = None
37-
37+
3838
# LLM Providers
3939
llm_provider: str = "openai" # "openai", "anthropic", "ollama"
4040
openai_api_key: Optional[str] = None
@@ -43,28 +43,28 @@ class Settings(BaseSettings):
4343
anthropic_model: str = "claude-sonnet-4-20250514"
4444
ollama_base_url: str = "http://localhost:11434"
4545
ollama_model: str = "llama3.1"
46-
46+
4747
# Embedding Providers
4848
embedding_provider: str = "openai" # "openai", "voyage", "local"
4949
openai_embedding_model: str = "text-embedding-3-small"
5050
voyage_api_key: Optional[str] = None
5151
voyage_model: str = "voyage-code-3"
5252
local_embedding_model: str = "nomic-ai/nomic-embed-text-v1.5"
53-
53+
5454
# GitHub
5555
github_token: Optional[str] = None
5656
repos_dir: str = "./data/repos"
57-
57+
5858
# Processing limits
5959
max_file_size_kb: int = 500 # Skip files larger than this
6060
max_files_per_repo: int = 5000
6161
chunk_size_tokens: int = 1500
6262
chunk_overlap_tokens: int = 200
63-
63+
6464
# Rate limiting
6565
rate_limit_requests: int = 100
6666
rate_limit_window_seconds: int = 60
67-
67+
6868
class Config:
6969
env_file = ".env"
7070
env_file_encoding = "utf-8"

0 commit comments

Comments
 (0)