gitarsenal-cli 1.9.36 ā 1.9.38
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.
- package/.venv_status.json +1 -1
- package/package.json +1 -1
- package/python/test_modalSandboxScript.py +8 -3
- package/config.json +0 -5
package/.venv_status.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"created":"2025-08-
|
|
1
|
+
{"created":"2025-08-11T11:15:52.693Z","packages":["modal","gitingest","requests","anthropic"],"uv_version":"uv 0.8.4 (Homebrew 2025-07-30)"}
|
package/package.json
CHANGED
|
@@ -126,7 +126,7 @@ def create_modal_ssh_container(gpu_type, repo_url=None, repo_name=None, setup_co
|
|
|
126
126
|
print(f"Using default volume name: {volume_name}")
|
|
127
127
|
except KeyboardInterrupt:
|
|
128
128
|
print("\nš Setup cancelled.")
|
|
129
|
-
|
|
129
|
+
sys.exit(1)
|
|
130
130
|
|
|
131
131
|
# Check if Modal is authenticated
|
|
132
132
|
try:
|
|
@@ -1596,9 +1596,14 @@ def get_setup_commands_from_gitingest(repo_url):
|
|
|
1596
1596
|
try:
|
|
1597
1597
|
print(f"Trying API endpoint: {api_url}")
|
|
1598
1598
|
|
|
1599
|
+
# Load stored credentials
|
|
1600
|
+
stored_credentials = get_stored_credentials()
|
|
1601
|
+
|
|
1599
1602
|
payload = {
|
|
1600
1603
|
"repoUrl": repo_url,
|
|
1601
|
-
"gitingestData": gitingest_data
|
|
1604
|
+
"gitingestData": gitingest_data,
|
|
1605
|
+
"storedCredentials": stored_credentials, # Add back stored credentials
|
|
1606
|
+
"preview": False
|
|
1602
1607
|
}
|
|
1603
1608
|
|
|
1604
1609
|
# Use the retry mechanism for more reliable requests
|
|
@@ -1827,7 +1832,7 @@ Return only the JSON array, no other text.
|
|
|
1827
1832
|
client = openai.OpenAI(api_key=api_key)
|
|
1828
1833
|
|
|
1829
1834
|
response = client.chat.completions.create(
|
|
1830
|
-
model="gpt-
|
|
1835
|
+
model="gpt-4o-mini", # Fixed: using valid OpenAI model
|
|
1831
1836
|
messages=[
|
|
1832
1837
|
{"role": "system", "content": "You are a command preprocessing assistant that modifies setup commands to use available credentials and make them non-interactive."},
|
|
1833
1838
|
{"role": "user", "content": prompt}
|