File size: 676 Bytes
1a1f4af
 
0242ef6
 
 
2f66bef
0242ef6
 
 
 
2f66bef
2b9cce2
 
7cdcb1a
1a1f4af
 
 
 
 
 
 
 
 
 
 
7cdcb1a
 
 
1a1f4af
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
from typing import Literal

API_BASE_URL = "https://openrouter.ai/api/v1"
API_KEY_ENV_VAR = "OPENROUTER_API_KEY"
MODEL_NAME = "google/gemini-2.5-pro"

#API_BASE_URL = "https://api.openai.com/v1/"
#MODEL_NAME = "gpt-5"
#API_KEY_ENV_VAR = "OPENAI_API_KEY_ORACLEBOT"
MAX_TOKENS = None

MODEL_TEMPERATURE = 0.7

def create_agent_config(app_name: str, thread_id: int) -> dict:
    """
    Create configuration for the agent.
    
    Args:
        app_name: Name of the application
    
    Returns:
        Configuration dictionary for the agent
    """
    return {
        "configurable": {
            "app_name": app_name,
            "thread_id": thread_id,
        },
    }