abtsousa
Update configuration and enhance tool functionality
0242ef6
raw
history blame contribute delete
676 Bytes
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,
},
}