akseljoonas HF Staff commited on
Commit
ae4a534
·
1 Parent(s): dc638e9

Rename CLI entry and Space assets from ml-agent to ml-intern

Browse files
agent/main.py CHANGED
@@ -1027,7 +1027,7 @@ async def headless_main(
1027
 
1028
 
1029
  def cli():
1030
- """Entry point for the ml-agent CLI command."""
1031
  import logging as _logging
1032
  import warnings
1033
  # Suppress aiohttp "Unclosed client session" noise during event loop teardown
 
1027
 
1028
 
1029
  def cli():
1030
+ """Entry point for the ml-intern CLI command."""
1031
  import logging as _logging
1032
  import warnings
1033
  # Suppress aiohttp "Unclosed client session" noise during event loop teardown
agent/tools/sandbox_tool.py CHANGED
@@ -145,7 +145,7 @@ async def _ensure_sandbox(
145
  await asyncio.to_thread(
146
  metadata_update,
147
  sb.space_id,
148
- {"title": "ml-agent sandbox"},
149
  repo_type="space",
150
  overwrite=True,
151
  token=token,
 
145
  await asyncio.to_thread(
146
  metadata_update,
147
  sb.space_id,
148
+ {"title": "ml-intern sandbox"},
149
  repo_type="space",
150
  overwrite=True,
151
  token=token,
frontend/src/components/WelcomeScreen/WelcomeScreen.tsx CHANGED
@@ -276,7 +276,7 @@ export default function WelcomeScreen() {
276
  typeof window !== 'undefined'
277
  ? window.location.hostname.includes('.hf.space')
278
  ? window.location.origin
279
- : 'https://smolagents-ml-agent.hf.space'
280
  : '';
281
 
282
  return (
 
276
  typeof window !== 'undefined'
277
  ? window.location.hostname.includes('.hf.space')
278
  ? window.location.origin
279
+ : 'https://smolagents-ml-intern.hf.space'
280
  : '';
281
 
282
  return (
pyproject.toml CHANGED
@@ -48,7 +48,7 @@ all = [
48
  ]
49
 
50
  [project.scripts]
51
- ml-agent = "agent.main:cli"
52
 
53
  [build-system]
54
  requires = ["setuptools>=64"]
 
48
  ]
49
 
50
  [project.scripts]
51
+ ml-intern = "agent.main:cli"
52
 
53
  [build-system]
54
  requires = ["setuptools>=64"]