Skip to content

Commit 2fc0302

Browse files
authored
Merge pull request #23 from ssdeanx/develop
feat: Update role hierarchy and subscription tier configurations
2 parents cbd1b0d + f944655 commit 2fc0302

19 files changed

Lines changed: 1636 additions & 977 deletions

.agent/rules/conventions.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ import type { InferUITool} from "@mastra/core/tools";
1919
import { createTool } from "@mastra/core/tools";
2020
import { z } from "zod";
2121
import { AISpanType, InternalSpans } from "@mastra/core/ai-tracing";
22-
import type { RuntimeContext } from "@mastra/core/runtime-context";
2322
import { log } from "../config/logger";
2423
import type { RuntimeContext } from '@mastra/core/runtime-context'
2524
import type { TracingContext } from '@mastra/core/ai-tracing';

.env.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ ANTHROPIC_API_KEY='your_anthropic_api_key_here'
2020
# OpenRouter Configuration
2121
OPENROUTER_API_KEY='your_openrouter_api_key_here'
2222

23+
# AI Ga
24+
AI_GATEWAY_API_KEY='your_api_key_here'
25+
2326
# Langfuse Configuration (optional, for monitoring and logging)
2427
# Get your keys from https://langfuse.com
2528
LANGFUSE_SECRET_KEY="sk-lf-your_secret_key_here"

app/chat/config/openrouter-models.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,14 @@ export const OPENROUTER_MODELS: ModelConfig[] = [
293293
},
294294

295295
// OpenAI via OpenRouter
296+
{
297+
id: "openrouter/openai/gpt-oss-20b:free",
298+
name: "GPT OSS 20B (Free)",
299+
provider: "openrouter",
300+
contextWindow: 8000,
301+
capabilities: ["chat", "code"],
302+
description: "Open-source GPT via OR",
303+
},
296304
{
297305
id: "openrouter/openai/gpt-4.1",
298306
name: "GPT-4.1 (OR)",

0 commit comments

Comments
 (0)