Skip to content

Commit

Permalink
fix id
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-XT committed Dec 25, 2024
1 parent a2d75e3 commit 0bb7f41
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion agixt/endpoints/Agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
import os
from providers.default import DefaultProvider
from Conversations import get_conversation_name_by_id
from MagicalAuth import MagicalAuth

app = APIRouter()

Expand Down Expand Up @@ -277,7 +278,10 @@ async def prompt_agent(
except:
conversation_id = None
if conversation_id:
conversation_name = get_conversation_name_by_id(conversation_id)
auth = MagicalAuth(token=authorization)
conversation_name = get_conversation_name_by_id(
conversation_id=conversation_id, user_id=auth.user_id
)
agent = AGiXT(
user=user,
agent_name=agent_name,
Expand Down
2 changes: 1 addition & 1 deletion agixt/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.6.27
v1.6.28

0 comments on commit 0bb7f41

Please sign in to comment.