Skip to content

Instantly share code, notes, and snippets.

View richardhundt's full-sized avatar

Richard Hundt richardhundt

View GitHub Profile
{"_key": "Q50038575", "id": "http://www.wikidata.org/entity/Q50038575", "type": ["Organisation", "Agent"], "sameAs": [], "variantName": ["Atos Medical"], "preferredName": "Atos Medical", "country": {"label": "Germany", "id": "http://www.wikidata.org/entity/Q183"}}
{"_key": "Q50038577", "id": "http://www.wikidata.org/entity/Q50038577", "type": ["Organisation", "Agent"], "sameAs": [], "variantName": ["Integrierte Psychiatrie Winterthur"], "preferredName": "Integrierte Psychiatrie Winterthur", "country": {"label": "Switzerland", "id": "http://www.wikidata.org/entity/Q39"}}
{"_key": "Q50038578", "id": "http://www.wikidata.org/entity/Q50038578", "type": ["Organisation", "Agent", "Company"], "sameAs": [], "variantName": ["Ingredia (France)"], "preferredName": "Ingredia (France)", "country": {"label": "France", "id": "http://www.wikidata.org/entity/Q142"}}
{"_key": "Q50038579", "id": "http://www.wikidata.org/entity/Q50038579", "type": ["Organisation", "Agent", "Company"], "sameAs": [], "variantName": ["L\u00f6wenste
@richardhundt
richardhundt / patch_httpx_asgi.py
Last active April 11, 2025 04:15
Patch httpx ASGITransport to stream responses for testing
import asyncio
from contextlib import asynccontextmanager
import typing
import asyncio
from httpx._models import Request, Response
from httpx._transports.asgi import ASGITransport
from httpx._types import AsyncByteStream
class ASGIResponseByteStream(AsyncByteStream):
@richardhundt
richardhundt / agent loop
Created March 14, 2025 19:24 — forked from jlia0/agent loop
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet