Skip to content

Commit 62ea6a0

Browse files
langfuse & opentelementary integrated
1 parent dab415f commit 62ea6a0

File tree

15 files changed

+4609
-539
lines changed

15 files changed

+4609
-539
lines changed

.env.example

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,42 @@
1-
# E2B Configuration
2-
E2B_API_KEY="your_e2b_api_key_here"
3-
1+
# Langfuse configuration
2+
LANGFUSE_PUBLIC_KEY=
3+
LANGFUSE_SECRET_KEY=
4+
LANGFUSE_HOST=https://cloud.langfuse.com
45

5-
# AI API Keys
6-
ANTHROPIC_API_KEY="your_anthropic_api_key_here"
7-
DEEPSEEK_API_KEY="your_deepseek_api_key_here"
8-
FIREWORKS_API_KEY="your_fireworks_api_key_here"
9-
GOOGLE_AI_API_KEY="your_google_ai_api_key_here"
10-
MISTRAL_API_KEY="your_mistral_api_key_here"
11-
OPENAI_API_KEY="your_openai_api_key_here"
12-
TOGETHER_AI_API_KEY="your_together_ai_api_key_here"
13-
XAI_API_KEY="your_xai_api_key_here"
6+
# OpenTelemetry configuration
7+
OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318/v1/traces
148

15-
# GitHub Configuration
16-
GITHUB_PERSONAL_ACCESS_TOKEN="your_github_personal_access_token_here"
17-
NEXT_PUBLIC_GITHUB_CLIENT_ID="your_github_client_id_here"
18-
NEXT_PUBLIC_GITHUB_CLIENT_SECRET="your_github_client_secret_here"
19-
NEXT_PUBLIC_GITHUB_PRIVATE_KEY_PEM="your_github_private_key_pem_here"
20-
PATH_TO_PRIVATE_KEY_PEM="/path/to/your/private_key.pem"
9+
# E2B Configuration
10+
E2B_API_KEY=
11+
12+
# AI/ML API Keys
13+
ANTHROPIC_API_KEY=
14+
GOOGLE_AI_API_KEY=
15+
GOOGLE_VERTEX_CREDENTIALS=
16+
XAI_API_KEY=
17+
FIREWORKS_API_KEY=
18+
DEEPSEEK_API_KEY=
19+
TOGETHER_AI_API_KEY=
20+
MISTRAL_API_KEY=
21+
OPENAI_API_KEY=
22+
23+
# Next.js Public Configuration
24+
NEXT_PUBLIC_SITE_URL=
25+
NEXT_PUBLIC_ENABLE_SUPABASE=
26+
NEXT_PUBLIC_HIDE_LOCAL_MODELS=
2127

2228
# Supabase Configuration
23-
NEXT_PUBLIC_ENABLE_SUPABASE="true"
24-
NEXT_PUBLIC_SUPABASE_URL="your_supabase_url_here"
25-
NEXT_PUBLIC_SUPABASE_ANON_KEY="your_supabase_anon_key_here"
26-
SUPABASE_SERVICE_ROLE_KEY="your_supabase_service_role_key_here"
29+
NEXT_PUBLIC_SUPABASE_URL=
30+
NEXT_PUBLIC_SUPABASE_ANON_KEY=
31+
SUPABASE_SERVICE_ROLE_KEY=
2732

28-
# PostHog Analytics
29-
NEXT_PUBLIC_POSTHOG_KEY="your_posthog_key_here"
30-
NEXT_PUBLIC_POSTHOG_HOST="https://us.i.posthog.com"
31-
32-
# reCAPTCHA
33-
RECAPTCHA_SITE_KEY="your_recaptcha_site_key_here"
34-
RECAPTCHA_SECRET_KEY="your_recaptcha_secret_key_here"
35-
36-
# Other APIs
37-
FIGMA_API_KEY="your_figma_api_key_here"
38-
39-
# Application Configuration
40-
NEXT_PUBLIC_SITE_URL="https://yoursite.com"
41-
NEXT_PUBLIC_HIDE_LOCAL_MODELS="true"
42-
WEB_PUSH_CERTIFICATE="your_web_push_certificate_here"
33+
# GitHub Configuration
34+
NEXT_PUBLIC_GITHUB_CLIENT_SECRET=
35+
NEXT_PUBLIC_GITHUB_CLIENT_ID=
36+
NEXT_PUBLIC_GITHUB_PERSONAL_ACCESS_TOKEN=
37+
38+
# Third-Party Services
39+
FIGMA_API_KEY=
40+
RECAPTCHA_SITE_KEY=
41+
RECAPTCHA_SECRET_KEY=
42+
WEB_PUSH_CERTIFICATE=

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,5 @@ yarn-error.log*
3333
next-env.d.ts
3434
.vercel
3535

36-
.firebase
36+
.firebase
37+
.vercel

app/actions/profile.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ export interface ProfileData {
1717
work_description: string | null
1818
preferences: string | null
1919
personalized_responses: boolean
20-
activity_status: boolean
2120
profile_visibility: "public" | "private" | "contacts"
2221
avatar_url?: string | null
2322
}
@@ -85,7 +84,6 @@ export async function getProfile(): Promise<ProfileData | null> {
8584
work_description: null,
8685
preferences: null,
8786
personalized_responses: true,
88-
activity_status: true,
8987
profile_visibility: "private",
9088
avatar_url: null,
9189
}

app/actions/settings.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ export interface UserSettings {
1717

1818
// Privacy settings
1919
profile_visibility: "public" | "private" | "contacts"
20-
activity_status: boolean
2120
project_visibility: "public" | "private" | "contacts"
2221
analytics_enabled: boolean
2322
personalization_enabled: boolean
@@ -122,7 +121,6 @@ export async function getUserSettings(): Promise<UserSettings | null> {
122121
animations_enabled: true,
123122
sound_enabled: true,
124123
profile_visibility: "private",
125-
activity_status: true,
126124
project_visibility: "private",
127125
analytics_enabled: true,
128126
personalization_enabled: true,
@@ -357,4 +355,4 @@ export async function updateIntegration(
357355
console.error("Error in updateIntegration:", error)
358356
return { success: false, error }
359357
}
360-
}
358+
}

0 commit comments

Comments
 (0)