-
Notifications
You must be signed in to change notification settings - Fork 136
Description
Pre-requisities
- I am using the newest version of the platform (
agentstack versionshows that CLI and platform are the same version, and there is no newer version available)
Describe the bug
When the agent run page takes longer to load, specifically when fetching the list of LLM providers takes time, users can still submit messages before the LLM providers are fully loaded. This results in a failure because the fulfillments are incomplete (missing LLM provider selections).
To Reproduce
Steps to reproduce the behavior:
- Navigate to an agent run page
- If the LLM provider list is still loading (slow network or slow API response)
- Submit a message before the LLM list finishes loading
- The message submission fails due to incomplete fulfillments
Expected behavior
The UI should prevent message submission until all required fulfillments (including LLM provider selections) are ready. The submit button should remain disabled until the LLM provider list has finished loading.
Additional context
The issue occurs in the agent run page UI where the isReady status doesn't account for the async LLM provider fetching. The form submission is enabled based on isReady which only checks for contextId and agentClient existence, but doesn't wait for matchedLLMProviders to be available.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status