Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug with restoring agent revision. #511

Merged
merged 1 commit into from
Nov 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/fixie-hello-world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"type": "module",
"scripts": {
"dev": "fixie serve",
"deploy": "fixie deploy",
"typecheck": "tsc -p tsconfig.json",
"build": "yarn run typecheck",
"prepack": "yarn build"
Expand Down
2 changes: 1 addition & 1 deletion packages/fixie/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fixie",
"version": "6.0.0",
"version": "6.0.1",
"license": "MIT",
"repository": "fixie-ai/ai-jsx",
"bugs": "https://github.com/fixie-ai/ai-jsx/issues",
Expand Down
2 changes: 1 addition & 1 deletion packages/fixie/src/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ export class FixieAgent {
const result = await this.client.gqlClient().mutate({
mutation: gql`
mutation SetCurrentAgentRevision($agentUuid: UUID!, $currentRevisionId: ID!) {
updateAgent(agentData: { agentUuid: $agentUuid, currentRevisionId: $currentRevisionId }) {
updateAgent(agentData: { uuid: $agentUuid, currentRevisionId: $currentRevisionId }) {
agent {
currentRevision {
id
Expand Down