Skip to content

Commit

Permalink
refactor(agents): Agent file on agents root
Browse files Browse the repository at this point in the history
  • Loading branch information
Estrada Irribarra, Rodrigo Andres committed Oct 28, 2024
1 parent a970f73 commit ef2ef09
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 403 deletions.
4 changes: 2 additions & 2 deletions storycraftr/agent/retrieval.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from storycraftr.agent.story.agents import create_message, get_thread
from storycraftr.agent.agents import create_message, get_thread
from rich.console import Console
from rich.progress import Progress

Expand Down Expand Up @@ -130,7 +130,7 @@ def handle_failed_prompt(assistant, original_prompt: str) -> str:

# Example usage
if __name__ == "__main__":
from storycraftr.agent.story.agents import create_or_get_assistant
from storycraftr.agent.agents import create_or_get_assistant

# Initialize or retrieve the assistant
assistant = create_or_get_assistant(book_path=None)
Expand Down
Loading

0 comments on commit ef2ef09

Please sign in to comment.