Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Doriandarko authored Jun 28, 2024
1 parent 2dd15bb commit b3d2ab0
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
import re
from anthropic import Anthropic

# Initialize colorama
init()

# Color constants
USER_COLOR = Fore.WHITE
CLAUDE_COLOR = Fore.BLUE
Expand All @@ -24,14 +27,17 @@
MAX_CONTINUATION_ITERATIONS = 5

# Initialize the Anthropic client
client = Anthropic(api_key="YOUR_API_KEY")
client = Anthropic(api_key="YOUR API KEY")

# Initialize the Tavily client
tavily = TavilyClient(api_key="YOUR_API_KEY")
tavily = TavilyClient(api_key="YOUR API KEY")

# Set up the conversation memory
conversation_history = []

# automode flag
automode = False

# System prompt
system_prompt = """
You are Claude, an AI assistant powered by Anthropic's Claude-3.5-Sonnet model. You are an exceptional software developer with vast knowledge across multiple programming languages, frameworks, and best practices. Your capabilities include:
Expand Down

0 comments on commit b3d2ab0

Please sign in to comment.