THED2 commited on
Commit
c9a71f8
·
verified ·
1 Parent(s): bad9544

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -81,14 +81,14 @@ async def agent_chat(request: ChatRequest):
81
  "run_terminal_command": run_terminal_command
82
  }
83
 
84
- # Gemma-2-9b-it environment configuration
85
  config = types.GenerateContentConfig(
86
  system_instruction=system_instruction,
87
  tools=[run_terminal_command, {'google_search': {}}],
88
  temperature=0.2
89
  )
90
 
91
- # Chat session starting with Gemma
92
  chat = client.chats.create(model='gemma2-9b-it', config=config)
93
  response = chat.send_message(user_prompt)
94
 
 
81
  "run_terminal_command": run_terminal_command
82
  }
83
 
84
+ # Gemma-2-9b-it model configurations
85
  config = types.GenerateContentConfig(
86
  system_instruction=system_instruction,
87
  tools=[run_terminal_command, {'google_search': {}}],
88
  temperature=0.2
89
  )
90
 
91
+ # Chat session explicitly locked to Gemma
92
  chat = client.chats.create(model='gemma2-9b-it', config=config)
93
  response = chat.send_message(user_prompt)
94