mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-26 16:48:13 +00:00
feat: store the current org after logged in
This commit is contained in:
@@ -173,6 +173,12 @@ class ToolCommand(BaseCommand, PlusAPIMixin):
|
|||||||
settings.tool_repository_password = login_response_json["credential"][
|
settings.tool_repository_password = login_response_json["credential"][
|
||||||
"password"
|
"password"
|
||||||
]
|
]
|
||||||
|
settings.org_uuid = login_response_json["current_organization"][
|
||||||
|
"uuid"
|
||||||
|
]
|
||||||
|
settings.org_name = login_response_json["current_organization"][
|
||||||
|
"name"
|
||||||
|
]
|
||||||
settings.dump()
|
settings.dump()
|
||||||
|
|
||||||
console.print(
|
console.print(
|
||||||
|
|||||||
Reference in New Issue
Block a user