Another ChatGPT front-end. Focus on tool calls and workflow management.
- Chat with GPT-3.5 and GPT-4
- Image input (take photo or upload)
- Markdown support
- OpenAI format LaTeX support
- Code highlighting
- Unlimited local chat history storage (with OPFS)
- Tool calls
- Run python code in browser (with pyodide)
- DuckDuckGo search (need Cloudflare Workers)
- Browser (need Cloudflare Workers)
- Dalle-3 image generation
- Memory management
- Import custom tools in OpenAPI format
- Share chat history as image
- Proxy OpenAI requests
- Workflow 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}
).