zelk12 commited on
Commit
f188268
·
verified ·
1 Parent(s): 464e08f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -15,15 +15,15 @@ genai.configure(api_key=GEMINI_API_KEY)
15
  print("add API key complete")
16
  print("add model")
17
 
18
- used_model = "gemini-2.0-flash-thinking-exp-01-21"
19
 
20
  # we will be using the Gemini 2.0 Flash model with Thinking capabilities
21
  model = genai.GenerativeModel("gemini-2.0-flash-thinking-exp-01-21")
22
 
23
- print(f"add model {used_model} colplete")
24
 
25
  def format_chat_history(messages: list) -> list:
26
- print("start format history")
27
  """
28
  Formats the chat history into a structure Gemini can understand
29
  """
 
15
  print("add API key complete")
16
  print("add model")
17
 
18
+ used_model = "gemini-2.5-pro-exp-03-25"
19
 
20
  # we will be using the Gemini 2.0 Flash model with Thinking capabilities
21
  model = genai.GenerativeModel("gemini-2.0-flash-thinking-exp-01-21")
22
 
23
+ print(f"add model {used_model} colplete\n")
24
 
25
  def format_chat_history(messages: list) -> list:
26
+ print("\nstart format history")
27
  """
28
  Formats the chat history into a structure Gemini can understand
29
  """