chore(python): audit providers kirocli kiroide opencode
Move Kiro IDE onto _runtime and _shell_command, share kirocli file helpers through _file_io, and clean temp files on any interruption. Claude-Session: https://claude.ai/code/session_01Agoc9bRVE9KL7mmWtey9Vq
This commit is contained in:
1 parent
407e4628a0
commit
6ec3e902f5
10 files changed
+190
-512
No files matched your search
@@ -169,13 +169,16 @@ def validate_runtime_config(
|
||||
validate_api_origin(base_url, "Elydora runtime config base_url")
|
||||
|
||||
|
||||
def runtime_config_source(config: InstallConfig, agent_id: str, agent_key: str) -> str:
|
||||
def runtime_config_source(
|
||||
config: InstallConfig, agent_id: str, agent_key: str, **extra: str
|
||||
) -> str:
|
||||
value = {
|
||||
"org_id": config.get("org_id", ""),
|
||||
"agent_id": agent_id,
|
||||
"kid": config.get("kid", ""),
|
||||
"base_url": config.get("base_url", DEFAULT_BASE_URL),
|
||||
"agent_name": agent_key,
|
||||
**extra,
|
||||
}
|
||||
token = config.get("token")
|
||||
if token:
|
||||
|
||||
Reference in new issue
Block a user