Do not require entrypoint for arcade configure for HTTP server (#684)
This commit is contained in:
parent
99ffc03348
commit
bddb383034
2 changed files with 6 additions and 5 deletions
|
|
@ -408,11 +408,12 @@ def configure_client(
|
|||
# Use the name of the current directory as the server name
|
||||
server_name = Path.cwd().name
|
||||
|
||||
if not bool(re.match(r"^[a-zA-Z0-9_-]+\.py$", entrypoint_file)):
|
||||
raise ValueError(f"Entrypoint file '{entrypoint_file}' is not a valid Python file name")
|
||||
if transport == "stdio":
|
||||
if not bool(re.match(r"^[a-zA-Z0-9_-]+\.py$", entrypoint_file)):
|
||||
raise ValueError(f"Entrypoint file '{entrypoint_file}' is not a valid Python file name")
|
||||
|
||||
if not (Path.cwd() / entrypoint_file).exists():
|
||||
raise ValueError(f"Entrypoint file '{entrypoint_file}' is not in the current directory")
|
||||
if not (Path.cwd() / entrypoint_file).exists():
|
||||
raise ValueError(f"Entrypoint file '{entrypoint_file}' is not in the current directory")
|
||||
|
||||
client_lower = client.lower()
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[project]
|
||||
name = "arcade-mcp"
|
||||
version = "1.5.2"
|
||||
version = "1.5.3"
|
||||
description = "Arcade.dev - Tool Calling platform for Agents"
|
||||
readme = "README.md"
|
||||
license = {file = "LICENSE"}
|
||||
|
|
|
|||
Loading…
Reference in a new issue