Skip to content

Commit 1a2490b

Browse files
committed
Fix erroneous error
1 parent f3150b4 commit 1a2490b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ApiClient.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44

55
load_dotenv()
66
base_uri = os.getenv("AGIXT_URI", "http://localhost:7437")
7-
agixt_api_key = os.getenv("AGIXT_API_KEY")
7+
agixt_api_key = os.getenv("AGIXT_API_KEY", "")
88
ApiClient = AGiXTSDK(base_uri=base_uri, api_key=agixt_api_key)

pages/0-Agent_Settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,5 +281,5 @@ def render_extension_settings(extension_settings, agent_settings):
281281
st.experimental_rerun() # Rerun the app to update the agent list
282282
except Exception as e:
283283
st.error(f"Error deleting agent: {str(e)}")
284-
else:
285-
st.error("Agent name is required.")
284+
else:
285+
st.error("Agent name is required.")

0 commit comments

Comments
 (0)