Resolve merge conflicts by accepting main branch changes

Co-authored-by: olaservo <16480113+olaservo@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-01-17 18:08:53 +00:00
parent dd9c5e59e0
commit 68fbd87e94
2 changed files with 0 additions and 15 deletions

View File

@@ -17,17 +17,10 @@ classifiers = [
"Programming Language :: Python :: 3.10",
]
dependencies = [
<<<<<<< HEAD
"mcp>=1.0.0",
"pydantic>=2.0.0",
"tzdata>=2024.2",
"tzlocal>=5.3.1"
=======
"mcp>=1.23.0",
"pydantic>=2.0.0",
"tzdata>=2024.2",
"tzlocal>=5.3.1",
>>>>>>> origin/main
]
[project.scripts]

View File

@@ -8,11 +8,7 @@ from tzlocal import get_localzone_name # ← returns "Europe/Paris", etc.
from mcp.server import Server
from mcp.server.stdio import stdio_server
<<<<<<< HEAD
from mcp.types import Tool, TextContent, ImageContent, EmbeddedResource
=======
from mcp.types import Tool, TextContent, ImageContent, EmbeddedResource, ErrorData, INVALID_PARAMS
>>>>>>> origin/main
from mcp.shared.exceptions import McpError
from pydantic import BaseModel
@@ -58,11 +54,7 @@ def get_zoneinfo(timezone_name: str) -> ZoneInfo:
try:
return ZoneInfo(timezone_name)
except Exception as e:
<<<<<<< HEAD
raise McpError(f"Invalid timezone: {str(e)}")
=======
raise McpError(ErrorData(code=INVALID_PARAMS, message=f"Invalid timezone: {str(e)}"))
>>>>>>> origin/main
class TimeServer: