Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ cuga-apps/apps/__pycache__/_ports.cpython-311.pyc
*.pyc
cuga-apps/apps/__pycache__/__init__.cpython-311.pyc
cuga-apps/apps/__pycache__/_ports.cpython-311.pyc
cuga-apps/apps/ouroboros/.email_store.json
9 changes: 8 additions & 1 deletion cuga-apps/apps/_llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ class RITSChatModel(_BaseChatModel):
base_url: str
api_key: str
temperature: float = 0.0
# RITS prod (and the underlying OpenAI-compat backend) defaults to a
# low max_tokens (~1024) when the request omits the field, which
# silently truncates long answers — the bug surface is "scout
# returned 222 chars of partial JSON". Set a generous default here;
# callers can still override via kwargs.
max_tokens: int = 16000
bound_tools: Optional[List[Dict[str, Any]]] = Field(default=None)

@model_validator(mode="after")
Expand Down Expand Up @@ -111,7 +117,8 @@ async def _agenerate(
"model": payload_model,
"messages": msgs,
"temperature": self.temperature,
**kwargs,
"max_tokens": self.max_tokens,
**kwargs, # caller-supplied kwargs (e.g. max_tokens override) win
}
if self.bound_tools:
payload["tools"] = self.bound_tools
Expand Down
1 change: 1 addition & 0 deletions cuga-apps/apps/_ports.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,5 @@
"code_engine_deployer": 28818,
"recipe_composer": 28820,
"city_beat": 28821,
"ouroboros": 28822,
}
1 change: 1 addition & 0 deletions cuga-apps/apps/launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ def _cmd(_port: int, _env: dict) -> list:
dict(name="code_engine_deployer", kind="app", port=APP_PORTS["code_engine_deployer"], cwd=HERE / "code_engine_deployer", cmd=_app_cmd()),
dict(name="recipe_composer", kind="app", port=APP_PORTS["recipe_composer"], cwd=HERE / "recipe_composer", cmd=_app_cmd()),
dict(name="city_beat", kind="app", port=APP_PORTS["city_beat"], cwd=HERE / "city_beat", cmd=_app_cmd()),
dict(name="ouroboros", kind="app", port=APP_PORTS["ouroboros"], cwd=HERE / "ouroboros", cmd=_app_cmd()),
]

PID_FILE = HERE / ".launch_pids"
Expand Down
379 changes: 379 additions & 0 deletions cuga-apps/apps/lego_brainstorm.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
allow_override: false
description: 'Intent guard: ouroboros_abuse_guard'
enabled: true
id: intent_guard_00cab9cf
name: ouroboros_abuse_guard
priority: 50
response_type: natural_language
triggers:
case_sensitive: false
keywords:
- harass
- dox
- stalk
- scrape personal
- find someone's home address
- track down
operator: or
target: intent
type: intent_guard
---

I can help with finding businesses that would benefit from a CUGA agent — not with locating individuals or personal information. Try rephrasing in terms of a business or a neighborhood.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
allow_override: false
description: 'Intent guard: ouroboros_abuse_guard'
enabled: true
id: intent_guard_029d40bc
name: ouroboros_abuse_guard
priority: 50
response_type: natural_language
triggers:
case_sensitive: false
keywords:
- harass
- dox
- stalk
- scrape personal
- find someone's home address
- track down
operator: or
target: intent
type: intent_guard
---

I can help with finding businesses that would benefit from a CUGA agent — not with locating individuals or personal information. Try rephrasing in terms of a business or a neighborhood.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
allow_override: false
description: 'Intent guard: ouroboros_abuse_guard'
enabled: true
id: intent_guard_14787f84
name: ouroboros_abuse_guard
priority: 50
response_type: natural_language
triggers:
case_sensitive: false
keywords:
- harass
- dox
- stalk
- scrape personal
- find someone's home address
- track down
operator: or
target: intent
type: intent_guard
---

I can help with finding businesses that would benefit from a CUGA agent — not with locating individuals or personal information. Try rephrasing in terms of a business or a neighborhood.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
allow_override: false
description: 'Intent guard: ouroboros_abuse_guard'
enabled: true
id: intent_guard_18219c5d
name: ouroboros_abuse_guard
priority: 50
response_type: natural_language
triggers:
case_sensitive: false
keywords:
- harass
- dox
- stalk
- scrape personal
- find someone's home address
- track down
operator: or
target: intent
type: intent_guard
---

I can help with finding businesses that would benefit from a CUGA agent — not with locating individuals or personal information. Try rephrasing in terms of a business or a neighborhood.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
allow_override: false
description: 'Intent guard: ouroboros_abuse_guard'
enabled: true
id: intent_guard_1bcc8f8f
name: ouroboros_abuse_guard
priority: 50
response_type: natural_language
triggers:
case_sensitive: false
keywords:
- harass
- dox
- stalk
- scrape personal
- find someone's home address
- track down
operator: or
target: intent
type: intent_guard
---

I can help with finding businesses that would benefit from a CUGA agent — not with locating individuals or personal information. Try rephrasing in terms of a business or a neighborhood.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
allow_override: false
description: 'Intent guard: ouroboros_abuse_guard'
enabled: true
id: intent_guard_283044be
name: ouroboros_abuse_guard
priority: 50
response_type: natural_language
triggers:
case_sensitive: false
keywords:
- harass
- dox
- stalk
- scrape personal
- find someone's home address
- track down
operator: or
target: intent
type: intent_guard
---

I can help with finding businesses that would benefit from a CUGA agent — not with locating individuals or personal information. Try rephrasing in terms of a business or a neighborhood.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
allow_override: false
description: 'Intent guard: ouroboros_abuse_guard'
enabled: true
id: intent_guard_2eaf7c0e
name: ouroboros_abuse_guard
priority: 50
response_type: natural_language
triggers:
case_sensitive: false
keywords:
- harass
- dox
- stalk
- scrape personal
- find someone's home address
- track down
operator: or
target: intent
type: intent_guard
---

I can help with finding businesses that would benefit from a CUGA agent — not with locating individuals or personal information. Try rephrasing in terms of a business or a neighborhood.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
allow_override: false
description: 'Intent guard: ouroboros_abuse_guard'
enabled: true
id: intent_guard_3ae7ef29
name: ouroboros_abuse_guard
priority: 50
response_type: natural_language
triggers:
case_sensitive: false
keywords:
- harass
- dox
- stalk
- scrape personal
- find someone's home address
- track down
operator: or
target: intent
type: intent_guard
---

I can help with finding businesses that would benefit from a CUGA agent — not with locating individuals or personal information. Try rephrasing in terms of a business or a neighborhood.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
allow_override: false
description: 'Intent guard: ouroboros_abuse_guard'
enabled: true
id: intent_guard_3bf2b9e1
name: ouroboros_abuse_guard
priority: 50
response_type: natural_language
triggers:
case_sensitive: false
keywords:
- harass
- dox
- stalk
- scrape personal
- find someone's home address
- track down
operator: or
target: intent
type: intent_guard
---

I can help with finding businesses that would benefit from a CUGA agent — not with locating individuals or personal information. Try rephrasing in terms of a business or a neighborhood.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
allow_override: false
description: 'Intent guard: ouroboros_abuse_guard'
enabled: true
id: intent_guard_43dd9f1f
name: ouroboros_abuse_guard
priority: 50
response_type: natural_language
triggers:
case_sensitive: false
keywords:
- harass
- dox
- stalk
- scrape personal
- find someone's home address
- track down
operator: or
target: intent
type: intent_guard
---

I can help with finding businesses that would benefit from a CUGA agent — not with locating individuals or personal information. Try rephrasing in terms of a business or a neighborhood.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
allow_override: false
description: 'Intent guard: ouroboros_abuse_guard'
enabled: true
id: intent_guard_45482258
name: ouroboros_abuse_guard
priority: 50
response_type: natural_language
triggers:
case_sensitive: false
keywords:
- harass
- dox
- stalk
- scrape personal
- find someone's home address
- track down
operator: or
target: intent
type: intent_guard
---

I can help with finding businesses that would benefit from a CUGA agent — not with locating individuals or personal information. Try rephrasing in terms of a business or a neighborhood.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
allow_override: false
description: 'Intent guard: ouroboros_abuse_guard'
enabled: true
id: intent_guard_45f6cad5
name: ouroboros_abuse_guard
priority: 50
response_type: natural_language
triggers:
case_sensitive: false
keywords:
- harass
- dox
- stalk
- scrape personal
- find someone's home address
- track down
operator: or
target: intent
type: intent_guard
---

I can help with finding businesses that would benefit from a CUGA agent — not with locating individuals or personal information. Try rephrasing in terms of a business or a neighborhood.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
allow_override: false
description: 'Intent guard: ouroboros_abuse_guard'
enabled: true
id: intent_guard_4c98ce16
name: ouroboros_abuse_guard
priority: 50
response_type: natural_language
triggers:
case_sensitive: false
keywords:
- harass
- dox
- stalk
- scrape personal
- find someone's home address
- track down
operator: or
target: intent
type: intent_guard
---

I can help with finding businesses that would benefit from a CUGA agent — not with locating individuals or personal information. Try rephrasing in terms of a business or a neighborhood.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
allow_override: false
description: 'Intent guard: ouroboros_abuse_guard'
enabled: true
id: intent_guard_51ba3cf0
name: ouroboros_abuse_guard
priority: 50
response_type: natural_language
triggers:
case_sensitive: false
keywords:
- harass
- dox
- stalk
- scrape personal
- find someone's home address
- track down
operator: or
target: intent
type: intent_guard
---

I can help with finding businesses that would benefit from a CUGA agent — not with locating individuals or personal information. Try rephrasing in terms of a business or a neighborhood.
Loading