Add the harness, envs, per-bot models and chat attachments
- Harness: providers, model catalog synced hourly, automatic free picks, cooldowns, tool loop with context trimming, MCP computer tools - Bots queue runs replies and tasks through the harness; jobs wait (attempt refunded) while every model is resting - Envs: Settings > Environment, scoped general/workspace/computer, written to computers and redacted from tool output - Models: Settings > Models, per-harness provider select defaulting to OpenRouter, and a models modal on each bot's chat (the coordinator's edits the defaults) - Chat: thinking row while a reply runs, file attachments (upload, paste, drop) that replies read as images, audio and document text - Fix media uploads failing after a user's first file, and private files being served from the public media path Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
+14
-3
@@ -7,7 +7,11 @@ import type {
|
||||
BunextRootComponentProps,
|
||||
} from "@moduletrace/bunext/types";
|
||||
|
||||
import type { AppContextObject, AppStateObject } from "@/src/types";
|
||||
import type {
|
||||
AppContextObject,
|
||||
AppStateObject,
|
||||
PagePropsType,
|
||||
} from "@/src/types";
|
||||
import { SiteData } from "@/src/data/site-data";
|
||||
import Layout from "../layouts/main";
|
||||
import AuthLayout from "../layouts/auth";
|
||||
@@ -33,8 +37,11 @@ export default function App({
|
||||
likes: null,
|
||||
});
|
||||
|
||||
const page_props = props as PagePropsType;
|
||||
|
||||
const appContextObject: AppContextObject = {
|
||||
user: null,
|
||||
user: page_props?.user || null,
|
||||
user_types: page_props?.user_types || null,
|
||||
appState,
|
||||
setAppState,
|
||||
refresh,
|
||||
@@ -97,7 +104,11 @@ export function Head({ serverRes, ctx }: BunextPageHeadFCProps) {
|
||||
href="https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
<link rel="icon" href="/favicon.ico" sizes="16x16 24x24 32x32 48x48" />
|
||||
<link
|
||||
rel="icon"
|
||||
href="/favicon.ico"
|
||||
sizes="16x16 24x24 32x32 48x48"
|
||||
/>
|
||||
<link
|
||||
rel="icon"
|
||||
type="image/png"
|
||||
|
||||
Reference in New Issue
Block a user