Skip to content

Commit f1061e4

Browse files
committed
Remove merge conflict markers and clean up tool handling in call_tool function
1 parent 957b463 commit f1061e4

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

minecode/server.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1458,7 +1458,6 @@ async def call_tool(name: str, arguments: dict) -> list[TextContent]:
14581458
recipe_type=arguments.get("recipe_type", "all"),
14591459
search=arguments.get("search")
14601460
)
1461-
<<<<<<< HEAD
14621461
# Minecraft logs tools
14631462
elif name == "get_minecraft_logs":
14641463
result = handle_get_minecraft_logs(
@@ -1490,12 +1489,11 @@ async def call_tool(name: str, arguments: dict) -> list[TextContent]:
14901489
result = handle_launcher_clear_minecraft_logs(
14911490
launcher_type=arguments["launcher_type"],
14921491
instance_name=arguments["instance_name"]
1493-
=======
1492+
)
14941493
elif name == "validate_function":
14951494
result = handle_validate_function(
14961495
function_path=arguments["function_path"],
14971496
version=arguments["version"]
1498-
>>>>>>> copilot/add-validate-function-command
14991497
)
15001498
else:
15011499
raise ValueError(f"Unknown tool: {name}")

0 commit comments

Comments
 (0)