Post

Replies

Boosts

Views

Activity

Comment on What is _the_ proper way to intercept tool calls modify them or dynamically approve/reject them?
Deleted
Topic: Foundation Models SubTopic:
Foundation Models Q&A
Replies
Boosts
Views
Activity
1d
Comment on What is _the_ proper way to intercept tool calls modify them or dynamically approve/reject them?
Thanks!
Topic: Foundation Models SubTopic:
Foundation Models Q&A
Replies
Boosts
Views
Activity
1d
Comment on What is _the_ proper way to intercept tool calls modify them or dynamically approve/reject them?
That’s how I’ve tackled it, good to be in consensus! :)
Topic: Foundation Models SubTopic:
Foundation Models Q&A
Replies
Boosts
Views
Activity
1d
Comment on Cannot pattern match LanguageModelError from a response stream
Yeah, I can see how on device is doing the matching just fine. Still weird the try is not required in the for await while next() is actually throwing. This wasn't the case before.
Replies
Boosts
Views
Activity
1d
Comment on How to obtain more value out of a generic "FoundationModels.LanguageModelError error -1"
FB23060822
Replies
Boosts
Views
Activity
1d
Comment on Cannot pattern match LanguageModelError from a response stream
When it emits a LanguageModelError, the catch let error as LanguageModelError is literally what I mention that is not working here, goes straight to the catch.
Replies
Boosts
Views
Activity
2d