Content-Length: 295515 | pFad | http://github.com/thirdweb-dev/ai/commit/d6b2a452120172cd2ae7532af9255b41e6b535ff

A3 fix engine cloud url (#37) · thirdweb-dev/ai@d6b2a45 · GitHub
Skip to content

Commit d6b2a45

Browse files
authored
fix engine cloud url (#37)
1 parent 16cec6a commit d6b2a45

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

python/thirdweb-mcp/src/mcp.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,6 @@
5454
default=lambda: os.getenv("THIRDWEB_ENGINE_BACKEND_WALLET_ADDRESS"),
5555
help="Wallet address used by the Engine backend for transactions. Optional for the 'engine' service. Falls back to THIRDWEB_ENGINE_BACKEND_WALLET_ADDRESS environment variable if not specified.",
5656
)
57-
@click.option(
58-
"--engine-cloud-url",
59-
type=str,
60-
default=lambda: os.getenv("THIRDWEB_ENGINE_CLOUD_URL") or "https://engine.thirdweb.com/v1",
61-
help="URL endpoint for thirdweb EngineCloud service. Falls back to THIRDWEB_ENGINE_CLOUD_URL environment variable if not specified.",
62-
)
6357
@click.option(
6458
"--vault-access-token",
6559
type=str,
@@ -116,10 +110,9 @@ def main(
116110
secret_key=secret_key or "",
117111
)
118112
add_fastmcp_tools(mcp, engine.get_tools())
119-
113+
120114
if "engine_cloud" in services:
121115
engine_cloud = EngineCloud(
122-
engine_cloud_url=engine_cloud_url,
123116
secret_key=secret_key,
124117
vault_access_token=vault_access_token,
125118
)
@@ -129,4 +122,5 @@ def main(
129122

130123

131124
if __name__ == "__main__":
132-
main()
125+
main()
126+

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/thirdweb-dev/ai/commit/d6b2a452120172cd2ae7532af9255b41e6b535ff

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy