feat: add provider_category field to distinguish byok (#2038)

This commit is contained in:
cthomas
2025-05-06 17:31:36 -07:00
committed by GitHub
parent 230eb944d1
commit db6982a4bc
23 changed files with 250 additions and 112 deletions

View File

@@ -105,9 +105,8 @@ def check_first_response_is_valid_for_llm_endpoint(filename: str, validate_inner
agent = Agent(agent_state=full_agent_state, interface=None, user=client.user)
llm_client = LLMClient.create(
provider_name=agent_state.llm_config.provider_name,
provider_type=agent_state.llm_config.model_endpoint_type,
actor_id=client.user.id,
actor=client.user,
)
if llm_client:
response = llm_client.send_llm_request(