Problems on TypeSpec - Agent do today #14890
Replies: 6 comments 29 replies
-
|
When compiling, are you getting the generated manifest you would expect? I assume the changes you are seeing are related to the plugins / OpenAPI files? We are seeing long cache issues right now. If you want 30ish minutes, are your agents back on track? |
Beta Was this translation helpful? Give feedback.
-
|
Hi @sebastienlevert . I have a question for you. Is this instruction acceptable? |
Beta Was this translation helpful? Give feedback.
-
|
Ok @sebastienlevert. First off happy holidays to you. I hope you are enjoying your break. As far as the next stage of questions go, I'm at the point where my backend workflow engine is fully implemented and working correctly. The next step is stabilizing the stateless front‑end layer. The full pipeline is wired end‑to‑end, but the agent still isn’t calling the backend correctly during API calls. To fix this, I’ve been updating the TypeSpec‑generated *-apiplugin.json files so the agent binds to the correct OpenAPI operations. The problem is that every time I publish the agent, those updated plugin files get overwritten by the TypeSpec emitter. What’s the correct way to ensure my modified plugin files are preserved and actually used at publish time? Should I be customizing the emitter, overriding the generation step, or placing the updated files somewhere else in the build pipeline? |
Beta Was this translation helpful? Give feedback.
-
|
Question for you. I am having difficulty getting my agent to flip an identifier based on a backend state indicated in the response body. My backend is working correctly. The problem is when I create an instruction that says something like When the user indicates they want to begin the consent workflow, interpret that request as referring to the workflow identified as “ack‑qna‑consent” with version “v1”. it is classified as jailbreak. The agent wants to make up an identifier which I feel is hallucinated because it does not use a consistent identifier nor format. How do I prompt this so the agent injects the correct identifier value in the request body 100% of the time based on a pre-categorized user intent? An example of this is listed below: Pre-initialization is a workflow (success) Pre-initialization is a workflow that has a consist workflowId (jailbreak) |
Beta Was this translation helpful? Give feedback.
-
|
Check out the attached document @sebastienlevert
This is what I Am haggling with. My research says my backend is set up in a complaint and architecturally sound manner. I have to haggle with the instruction block now. I need to connect with a wizard who understands the Dos and Don'ts of the instruction block as section placement, order within section, and language matters. As I am sure you already know, the validator is extremely particular and nonsensical on a surface level. I am still learning the language. Until then, I need help |
Beta Was this translation helpful? Give feedback.
-
|
Ok @sebastienlevert . I think I am nearing the finish line. For the most part, my instruction block has been stabilized except that now I am having a difficult time binding a value from the prior response body to my proceeding request body. For example, the prior response body incudes questionId value that must be passed to the agents request body questionId value. My backend is fully operational and fully deterministic. when i tets in apim everything works perfectly with the same identical request body. the issue is instruction block. I used the explicit, and restrcitive, instruction block listed below as an example and the agent still halleucinates the questionId value. How do you recommend binding this value as my backend requires the agent to pass it? QNA PHASE (Strict Production Mode — Condensed)
resolveState requirements:
|
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Hello all. I am having difficulty with typespec serving stale documents after compiling. I have an agent due today. Can I speak to a real person with this as I am kind of in crunch time? @sebastienlevert
Beta Was this translation helpful? Give feedback.
All reactions