Skip to content

Latest commit

 

History

History
61 lines (38 loc) · 1.24 KB

readme.md

File metadata and controls

61 lines (38 loc) · 1.24 KB

Open API

img.png

providers

TODO

  • specific scenario-based prompt
  • user management on database
  • callable robuster api

Features

  • supported compress-content algo (2024-03-31)
  • supported zhipu / minimax API (2024-03-31)
  • supported agent call (2024-03-30)
  • supported openai / moonshot API (2024-03-28)

Configuration

config your .env like .env.sample

poetry shell
poetry install

Run

uvicorn auth:app --reload

访问 http://localhost:8000/docs 查看各 API。

Deploy

proxy

pm2 start --name "openapi" 'http_proxy=http://localhost:7890 https_proxy=http://localhost:7890 uvicorn auth:app --port 40330'

Tech

drivers

Bugfix

Wechaty - FileBox

文件发送问题,参考:wechaty/python-wechaty#356 (comment) ,代码见 packages/common_wechat/patches/filebox.py

NotGiven

如果不加这个的话,swagger 里会显示为 null