change: remove addDeviceContextForWings

This commit is contained in:
lilong.129
2025-07-21 15:14:11 +08:00
parent 5eb00f3949
commit 4890c098fa
3 changed files with 15 additions and 50 deletions
+2 -2
View File
@@ -345,8 +345,8 @@ func (w *WingsService) extractScreenshotFromMessage(message *schema.Message) (st
}
// getDeviceInfoFromContext gets device info from context with fallback
func (w *WingsService) getDeviceInfoFromContext(ctx context.Context, screenshot string) WingsDeviceInfo {
// Fallback to default device info
func (w *WingsService) getDeviceInfoFromContext(_ context.Context, screenshot string) WingsDeviceInfo {
// use default device info
return WingsDeviceInfo{
DeviceID: "default-device",
NowImage: screenshot,