Skip to content

Commit

Permalink
chore: Improve a TODO comment and remove unused comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
anubhav756 committed Nov 19, 2024
1 parent 8f11b74 commit c5c523a
Showing 1 changed file with 1 addition and 43 deletions.
44 changes: 1 addition & 43 deletions llm_demo/orchestrator/langchain_tools/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ async def initialize_tools(client: aiohttp.ClientSession):
BASE_URL,
client,
)
# TODO: Remove the hardcoded values and replace with actual values on successful login.
# TODO: Remove the hardcoded bounded values with actual user data on successful login.
toolbox_client.set_bounded_params(
{
"user_id": "12345678900",
Expand All @@ -286,48 +286,6 @@ async def initialize_tools(client: aiohttp.ClientSession):
)
return await toolbox_client.load_toolset()

# toolbox_client = ToolboxClient(
# BASE_URL,
# client,
# )
# # TODO: Remove the hardcoded values and replace with actual values on successful login.
# # toolbox_client.set_bounded_params(
# # {
# # "user_id": "12345678900",
# # "user_name": "Someone",
# # "user_email": "something@somewhere.com",
# # }
# # )
# return await toolbox_client.load_toolset()

# toolbox_client = ToolboxClient(
# BASE_URL,
# client,
# )
# # TODO: Remove the hardcoded values and replace with actual values on successful login.
# # toolbox_client.set_bounded_params(
# # {
# # "user_id": "12345678900",
# # "user_name": "Someone",
# # "user_email": "something@somewhere.com",
# # }
# # )
# return await toolbox_client.load_toolset()

# toolbox_client = ToolboxClient(
# BASE_URL,
# client,
# )
# # TODO: Remove the hardcoded values and replace with actual values on successful login.
# # toolbox_client.set_bounded_params(
# # {
# # "user_id": "12345678900",
# # "user_name": "Someone",
# # "user_email": "something@somewhere.com",
# # }
# # )
# return await toolbox_client.load_toolset()


def get_confirmation_needing_tools():
return ["Insert Ticket"]

0 comments on commit c5c523a

Please sign in to comment.