Skip to content

Commit

Permalink
Merge pull request #110 from langchain-ai/nc/disable-clause
Browse files Browse the repository at this point in the history
  • Loading branch information
nfcampos authored Dec 14, 2023
2 parents a3db922 + 34e6ae7 commit c163623
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ class GizmoAgentType(str, Enum):
GPT_35_TURBO = "GPT 3.5 Turbo"
# GPT_4 = "GPT 4"
# AZURE_OPENAI = "GPT 4 (Azure OpenAI)"
CLAUDE2 = "Claude 2"
BEDROCK_CLAUDE2 = "Claude 2 (Amazon Bedrock)"
# CLAUDE2 = "Claude 2"
# BEDROCK_CLAUDE2 = "Claude 2 (Amazon Bedrock)"


__all__ = [
Expand Down
8 changes: 4 additions & 4 deletions backend/packages/gizmo-agent/gizmo_agent/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ def __init__(
# _agent = get_openai_function_agent(_tools, system_message, gpt_4=True)
# elif agent == GizmoAgentType.AZURE_OPENAI:
# _agent = get_openai_function_agent(_tools, system_message, azure=True)
elif agent == GizmoAgentType.CLAUDE2:
_agent = get_xml_agent(_tools, system_message)
elif agent == GizmoAgentType.BEDROCK_CLAUDE2:
_agent = get_xml_agent(_tools, system_message, bedrock=True)
# elif agent == GizmoAgentType.CLAUDE2:
# _agent = get_xml_agent(_tools, system_message)
# elif agent == GizmoAgentType.BEDROCK_CLAUDE2:
# _agent = get_xml_agent(_tools, system_message, bedrock=True)
else:
raise ValueError("Unexpected agent type")
agent_executor = get_agent_executor(
Expand Down

0 comments on commit c163623

Please sign in to comment.