The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
IMPROVEMENT pirate-speak-configurable alternatives env vars (#13395)
Nuno Camposa632f61f3d35
diff --git a/templates/pirate-speak-configurable/pirate_speak_configurable/chain.py b/templates/pirate-speak-configurable/pirate_speak_configurable/chain.pyindex 2372ba9d0b..a385f22036 100644--- a/templates/pirate-speak-configurable/pirate_speak_configurable/chain.py+++ b/templates/pirate-speak-configurable/pirate_speak_configurable/chain.py@@ -14,8 +14,8 @@ _prompt = ChatPromptTemplate.from_messages(_model = ChatOpenAI().configurable_alternatives(ConfigurableField(id="llm_provider"),default_key="openai",- anthropic=ChatAnthropic(),- cohere=ChatCohere(),+ anthropic=ChatAnthropic,+ cohere=ChatCohere,)# if you update this, you MUST also update ../pyproject.toml