deploy
This commit is contained in:
4
agent.py
4
agent.py
@@ -129,7 +129,7 @@ class BrowserToApiAgent(A2AAgent[BrowserToApiConfig, NoAuth]):
|
||||
"SeleniumBase-style browser agent that turns observed website traffic "
|
||||
"into OpenAPI specs, coverage reports, samples, and a replay client."
|
||||
)
|
||||
version = "0.2.8"
|
||||
version = "0.2.9"
|
||||
|
||||
config_model = BrowserToApiConfig
|
||||
auth_model = NoAuth
|
||||
@@ -615,7 +615,7 @@ def _post_chat_completion(url: str, api_key: str, payload: dict[str, Any]) -> st
|
||||
url,
|
||||
data=json.dumps(payload).encode("utf-8"),
|
||||
headers={
|
||||
"authorization": f"Bearer {llm_config['api_key']}",
|
||||
"authorization": f"Bearer {api_key}",
|
||||
"content-type": "application/json",
|
||||
},
|
||||
method="POST",
|
||||
|
||||
Reference in New Issue
Block a user