arcade-mcp/arcade/tests
Eric Gustin a4b58d9749
Fix /show for Cloud Engine (#177)
# PR Description
### The following bug was observed: 
* When connected to the cloud engine for `arcade chat`, and the user
types `/show`, then the local environment tools are displayed. Instead,
the cloud engine's tools should be displayed.

### Why was this bug happening?:
* When a user entered the `/show` command, the CLI Command `show` was
being called directly. Since the function was a CLI command, the `local`
parameter was not being processed and resolved to its intended value
because the Typer CLI interface was being bypassed. So, the conditional
`if local:` would always evaluate to `True`.

### How this was fixed:
* I created a wrapper function for the `show` CLI Command. Now, when the
user types `/show`, then the wrapper function is called instead of the
`show` CLI command. This ensures that all input parameters are resolved
to their intended values.
2024-12-19 10:13:58 -08:00
..
cli Fix /show for Cloud Engine (#177) 2024-12-19 10:13:58 -08:00
core Remove arcade.core from all examples (#121) 2024-10-24 17:08:04 -07:00
sdk Remove arcade.core from all examples (#121) 2024-10-24 17:08:04 -07:00
tool SDK: Generic OAuth 2.0 connector (#81) 2024-10-03 16:40:02 -07:00
__init__.py Tool SDK, Schemas (#2) 2024-07-14 23:37:46 -07:00