a
This commit is contained in:
parent
918f3c39b7
commit
f594a5fa62
@ -11,8 +11,8 @@ import time
|
||||
from typing import Optional, Dict, Any, List
|
||||
|
||||
# Gurt imports for AI calls and config
|
||||
from ..gurt.api import get_internal_ai_json_response
|
||||
from ..gurt.config import PROFILE_UPDATE_SCHEMA, ROLE_SELECTION_SCHEMA, DEFAULT_MODEL
|
||||
from gurt.api import get_internal_ai_json_response
|
||||
from gurt.config import PROFILE_UPDATE_SCHEMA, ROLE_SELECTION_SCHEMA, DEFAULT_MODEL
|
||||
|
||||
class ProfileUpdaterCog(commands.Cog):
|
||||
"""Cog for automatically updating Gurt's profile elements based on AI decisions."""
|
||||
|
@ -1,8 +1,11 @@
|
||||
import time
|
||||
import re
|
||||
import traceback
|
||||
import logging
|
||||
from collections import defaultdict
|
||||
from typing import TYPE_CHECKING, List, Dict, Any
|
||||
from typing import TYPE_CHECKING, List, Dict, Any, Optional
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
# Relative imports
|
||||
from .config import (
|
||||
|
@ -8,6 +8,7 @@ import time
|
||||
import datetime
|
||||
from typing import TYPE_CHECKING, Optional, List, Dict, Any, Union, AsyncIterable
|
||||
import jsonschema # For manual JSON validation
|
||||
from .tools import get_conversation_summary
|
||||
|
||||
# Vertex AI Imports
|
||||
try:
|
||||
|
@ -10,7 +10,7 @@ from typing import TYPE_CHECKING
|
||||
|
||||
# Relative imports
|
||||
from .config import (
|
||||
LEARNING_UPDATE_INTERVAL, EVOLUTION_UPDATE_INTERVAL, INTEREST_UPDATE_INTERVAL,
|
||||
GOAL_CHECK_INTERVAL, GOAL_EXECUTION_INTERVAL, LEARNING_UPDATE_INTERVAL, EVOLUTION_UPDATE_INTERVAL, INTEREST_UPDATE_INTERVAL,
|
||||
INTEREST_DECAY_INTERVAL_HOURS, INTEREST_PARTICIPATION_BOOST,
|
||||
INTEREST_POSITIVE_REACTION_BOOST, INTEREST_NEGATIVE_REACTION_PENALTY,
|
||||
INTEREST_FACT_BOOST, STATS_PUSH_INTERVAL, # Added stats interval
|
||||
|
Loading…
x
Reference in New Issue
Block a user