Another ChatGPT front-end. Focus on tool calls and workflow management.
- Chat with GPT-3.5 and GPT-4
- Image input
- Markdown support
- LaTeX support
- Code Highlighting
- Local tools
- Current time
- Run python code (with pyodide)
- Origin Private File System
- Remote tools
- DuckDuckGo search (Need Cloudflare Workers)
- Crawl a web page (Need Cloudflare Workers)
- Dalle-3 image generation
- Proxy OpenAI requests
- Workflow management
- Memory management
- Visit website in repository description.
- Set your OpenAI API key in the settings page.
Chat messages can be accessed by MESSAGES
environment variable.
Any modification to os.environ
will be preserved between messages.
An example of extracting the last message content:
import os
import json
messages = json.loads(os.environ["MESSAGES"])
os.environ["CONTENT"] = messages[-1].content
Environment variables can be accessed in the system prompt (e.g. {CONTENT}
).