orgo 0.0.26__py3-none-any.whl → 0.0.27__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
orgo/computer.py
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"""Computer class for interacting with Orgo virtual environments"""
|
|
2
|
-
import os
|
|
3
|
-
import io
|
|
2
|
+
import os as operating_system
|
|
4
3
|
import base64
|
|
5
4
|
import logging
|
|
6
5
|
import uuid
|
|
@@ -50,7 +49,7 @@ class Computer:
|
|
|
50
49
|
# Connect to existing computer in project
|
|
51
50
|
computer = Computer(project="manus")
|
|
52
51
|
"""
|
|
53
|
-
self.api_key = api_key or
|
|
52
|
+
self.api_key = api_key or operating_system.environ.get("ORGO_API_KEY")
|
|
54
53
|
self.base_api_url = base_api_url
|
|
55
54
|
self.api = ApiClient(self.api_key, self.base_api_url)
|
|
56
55
|
|
orgo/project.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"""Project class for managing Orgo projects"""
|
|
2
|
-
import os
|
|
2
|
+
import os as operating_system # Renamed to avoid any potential conflicts
|
|
3
3
|
import uuid
|
|
4
4
|
from typing import Dict, List, Any, Optional
|
|
5
5
|
|
|
@@ -18,7 +18,7 @@ class Project:
|
|
|
18
18
|
api_key: Orgo API key (defaults to ORGO_API_KEY env var)
|
|
19
19
|
base_api_url: Custom API URL (optional)
|
|
20
20
|
"""
|
|
21
|
-
self.api_key = api_key or
|
|
21
|
+
self.api_key = api_key or operating_system.environ.get("ORGO_API_KEY")
|
|
22
22
|
self.base_api_url = base_api_url
|
|
23
23
|
self.api = ApiClient(self.api_key, self.base_api_url)
|
|
24
24
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
orgo/__init__.py,sha256=aw3BM7-Wy8jk-mvIWRG2gC4-nsc74s6ZFm1U21NyGeM,171
|
|
2
|
-
orgo/computer.py,sha256=
|
|
3
|
-
orgo/project.py,sha256=
|
|
2
|
+
orgo/computer.py,sha256=B3B0NQwpSHzadjbssxHzoXe3-A3A3cuUD1fXW18k_bU,14487
|
|
3
|
+
orgo/project.py,sha256=uVDFa8iyn5OaHzTzjGQhxnF_nVzwkqkqUShiV3M0AWU,3150
|
|
4
4
|
orgo/prompt.py,sha256=ynblwXPTDp_aF1MbGBsY0PIEr9naklDaKFcfSE_EZ6E,19781
|
|
5
5
|
orgo/api/__init__.py,sha256=9Tzb_OPJ5DH7Cg7OrHzpZZUT4ip05alpa9RLDYmnId8,113
|
|
6
6
|
orgo/api/client.py,sha256=JofBHTnks4nO60786vAmzJmECVFFf-Yff1qF0ir-YQ8,7958
|
|
7
7
|
orgo/utils/__init__.py,sha256=W4G_nwGBf_7jy0w_mfcrkllurYHSRU4B5cMTVYH_uCc,123
|
|
8
8
|
orgo/utils/auth.py,sha256=tPLBJY-6gdBQWLUjUbwIwxHphC3KoRT_XgP3Iykw3Mw,509
|
|
9
|
-
orgo-0.0.
|
|
10
|
-
orgo-0.0.
|
|
11
|
-
orgo-0.0.
|
|
12
|
-
orgo-0.0.
|
|
9
|
+
orgo-0.0.27.dist-info/METADATA,sha256=Ty1vixQaj3ccyXNkTKFZEaZAEVYr-5O4zMGvKiQQZxo,822
|
|
10
|
+
orgo-0.0.27.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
11
|
+
orgo-0.0.27.dist-info/top_level.txt,sha256=q0rYtFji8GbYuhFW8A5Ab9e0j27761IKPhnL0E9xow4,5
|
|
12
|
+
orgo-0.0.27.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|