跳到正文
Viewing the Simplified Chinese edition. Switch to the English edition with USD pricing & translated CN Alpha?
AI 快讯与动态Modal 官方工程博客 · 情报速递· 2026-12-06 22:05

Modal 客户端 1.0 发布

AI 智能总结
30 秒速读
  • 核心提炼:Modal 上周发布客户端 1.0(Python SDK),API 更稳健、破坏性变更更少。1.0 移除 automounting 等“魔法”行为,本地文件与包改为显式指定,并新增 @modal.concurrent 装饰器拆分并发配置。后续更新将批量发布,团队正开发其他语言 SDK、探索面向 AI 智能体的体验。
  • 频道与评分:ai-products · 质量评分 48 分 · 来源 Modal 官方工程博客

情报档案

本帖由 AOB 情报系统同步至 BBS 讨论区,欢迎在下方展开技术拆解、实测反馈与延伸讨论。

完整原文内容

完整原文共 4,937 字

Last week, we launched version 1.0 of the Modal client . This is a significant milestone for us because it marks a new level of maturity and stability for the Modal platform. We’ve worked to make the client API more robust and predictable, and we expect far fewer breaking changes moving forward. So what do we mean by “Modal client”? If you’re new to Modal, you can think of Modal in two parts: our client, which is a Python SDK, and our managed cloud platform, which we use to run user workloads around the world. The client gives developers the ability to access serverless cloud compute from their application code via decorators. Here’s a basic example: Developer ergonomics has been a core principle of Modal from the very beginning. Crafting a good developer experience requires making tricky tradeoffs along the way, however. Working towards 1.0 has given us a chance to reflect on our core design principles and some of the major decisions we’ve made along the way. Design principles for 1.0 1. Avoiding unpredictable magic We want using Modal to feel a little magical, but “magic” behavior can be a double-edged sword. With 1.0, we’ve intentionally moved away from some of these “magic” behaviors. One example is our old “automounting” feature. If your App had imports of local packages, we’d automatically find and include them in your Modal deployment. While helpful on the surface, this became unpredictable in many cases. Users could end up with more packages than needed, making deployments slower. Users could also start expecting every file they read to be automatically included, even when that wasn’t the case. With 1.0, these behaviors are now explicit. You’ll specify exactly what local files and packages are included in your container, apart from the Function’s own package. Yo…

一键内容反馈
点击快速标记内容质量或反馈原链问题,登录后同步发出快捷回复
推荐反馈:
问题反馈:
第三方网络采集内容(AI 已初审):运行代码、安装依赖或跳转外链前请自行二次审查,安全问题由使用者自行负责,本站不承担任何责任。
免责声明

全部回复(0)

暂无回复,抢个沙发分享你的看法吧。
添加一条新回复
回复插图(仅限 ≤2MB PNG/JPG/WebP/GIF,直传 R2)

非图片文件(.zip / .pdf / 安装包)与 >2MB 原图禁止直传源站,发帖后可在帖子内「插入网盘资源卡片」自动托管防死链。

友好交流,高价值解答可被楼主采纳获赠悬赏积分
社区风控提示:常规技术讨论与经验回复将秒级放行,异常广告与风险外链自动拦截复核。