From 2493eb794f19c3fad567debfa335e19ea51e8bf5 Mon Sep 17 00:00:00 2001 From: Ashwin Bharambe Date: Fri, 7 Feb 2025 09:46:02 -0800 Subject: [PATCH] Avoid error catching --- docs/source/getting_started/index.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/docs/source/getting_started/index.md b/docs/source/getting_started/index.md index cc82166cb..1ddc5ff54 100644 --- a/docs/source/getting_started/index.md +++ b/docs/source/getting_started/index.md @@ -134,13 +134,7 @@ client = ( ) # or create_http_client() depending on the environment you picked # List available models - -try: - models = client.models.list() -except ValueError as e: - print(e) - sys.exit(1) - +models = client.models.list() print("--- Available models: ---") for m in models: print(f"- {m.identifier}")