Remove hard-coded model overrides from Together and Groq examples
Prefer service defaults — the hard-coded models we were using are no longer available on these providers.
This commit is contained in:
@@ -72,7 +72,6 @@ async def run_bot(transport: BaseTransport, runner_args: RunnerArguments):
|
|||||||
llm = TogetherLLMService(
|
llm = TogetherLLMService(
|
||||||
api_key=os.getenv("TOGETHER_API_KEY"),
|
api_key=os.getenv("TOGETHER_API_KEY"),
|
||||||
settings=TogetherLLMService.Settings(
|
settings=TogetherLLMService.Settings(
|
||||||
model="meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo",
|
|
||||||
system_instruction="You are a helpful assistant in a voice conversation. Your responses will be spoken aloud, so avoid emojis, bullet points, or other formatting that can't be spoken. Respond to what the user said in a creative, helpful, and brief way.",
|
system_instruction="You are a helpful assistant in a voice conversation. Your responses will be spoken aloud, so avoid emojis, bullet points, or other formatting that can't be spoken. Respond to what the user said in a creative, helpful, and brief way.",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -77,7 +77,6 @@ async def run_bot(transport: BaseTransport, runner_args: RunnerArguments):
|
|||||||
groq_llm = GroqLLMService(
|
groq_llm = GroqLLMService(
|
||||||
api_key=os.getenv("GROQ_API_KEY"),
|
api_key=os.getenv("GROQ_API_KEY"),
|
||||||
settings=GroqLLMService.Settings(
|
settings=GroqLLMService.Settings(
|
||||||
model="meta-llama/llama-4-maverick-17b-128e-instruct",
|
|
||||||
system_instruction="You are a very helpful assistant. Your goal is to demonstrate your capabilities in detail in a creative and helpful way.",
|
system_instruction="You are a very helpful assistant. Your goal is to demonstrate your capabilities in detail in a creative and helpful way.",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -62,7 +62,6 @@ async def run_bot(transport: BaseTransport, runner_args: RunnerArguments):
|
|||||||
llm = GroqLLMService(
|
llm = GroqLLMService(
|
||||||
api_key=os.getenv("GROQ_API_KEY"),
|
api_key=os.getenv("GROQ_API_KEY"),
|
||||||
settings=GroqLLMService.Settings(
|
settings=GroqLLMService.Settings(
|
||||||
model="meta-llama/llama-4-maverick-17b-128e-instruct",
|
|
||||||
system_instruction="You are a helpful assistant in a voice conversation. Your responses will be spoken aloud, so avoid emojis, bullet points, or other formatting that can't be spoken. Respond to what the user said in a creative, helpful, and brief way.",
|
system_instruction="You are a helpful assistant in a voice conversation. Your responses will be spoken aloud, so avoid emojis, bullet points, or other formatting that can't be spoken. Respond to what the user said in a creative, helpful, and brief way.",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -62,7 +62,6 @@ async def run_bot(transport: BaseTransport, runner_args: RunnerArguments):
|
|||||||
llm = TogetherLLMService(
|
llm = TogetherLLMService(
|
||||||
api_key=os.getenv("TOGETHER_API_KEY"),
|
api_key=os.getenv("TOGETHER_API_KEY"),
|
||||||
settings=TogetherLLMService.Settings(
|
settings=TogetherLLMService.Settings(
|
||||||
model="meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo",
|
|
||||||
system_instruction="You are a helpful assistant in a voice conversation. Your responses will be spoken aloud, so avoid emojis, bullet points, or other formatting that can't be spoken. Respond to what the user said in a creative, helpful, and brief way.",
|
system_instruction="You are a helpful assistant in a voice conversation. Your responses will be spoken aloud, so avoid emojis, bullet points, or other formatting that can't be spoken. Respond to what the user said in a creative, helpful, and brief way.",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user