Update 14p, add 14p to evals, add Google creds to env.example

This commit is contained in:
Mark Backman
2025-08-05 13:28:02 -04:00
parent 1138c92a00
commit ba5a5c7187
4 changed files with 10 additions and 4 deletions

View File

@@ -67,7 +67,7 @@ async def run_bot(transport: BaseTransport):
voice_id=os.getenv("ELEVENLABS_VOICE_ID", ""),
)
llm = GoogleLLMOpenAIBetaService(api_key=os.getenv("GEMINI_API_KEY"))
llm = GoogleLLMOpenAIBetaService(api_key=os.getenv("GOOGLE_API_KEY"))
# You can aslo register a function_name of None to get all functions
# sent to the same callback with an additional function_name parameter.
llm.register_function("get_current_weather", fetch_weather_from_api)

View File

@@ -68,9 +68,9 @@ async def run_bot(transport: BaseTransport):
)
llm = GoogleVertexLLMService(
credentials=os.getenv("GOOGLE_TEST_CREDENTIALS"),
credentials=os.getenv("GOOGLE_VERTEX_TEST_CREDENTIALS"),
params=GoogleVertexLLMService.InputParams(
project_id="<google-project-id>",
project_id=os.getenv("GOOGLE_CLOUD_PROJECT_ID"),
),
)
# You can aslo register a function_name of None to get all functions